--- ray/src/px/pcompos.c 1991/05/30 09:44:36 1.7 +++ ray/src/px/pcompos.c 2005/05/25 04:44:26 2.30 @@ -1,9 +1,6 @@ -/* Copyright (c) 1991 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: pcompos.c,v 2.30 2005/05/25 04:44:26 greg Exp $"; #endif - /* * pcompos.c - program to composite pictures. * @@ -11,16 +8,23 @@ static char SCCSid[] = "$SunId$ LBL"; */ #include +#include +#include +#include +#include "copyright.h" + +#include "platform.h" +#include "rtprocess.h" +#include "rterror.h" #include "color.h" +#include "resolu.h" +#define MAXFILE 512 -#define MAXFILE 32 +#define HASMIN 1 +#define HASMAX 2 -#define SIGNHT 24 -#define setpscom(b,n) sprintf(b, "psign -h %d '%.30s'|pfilt -1 -x /2 -y /2",\ - 2*SIGNHT, n) - /* output picture size */ int xsiz = 0; int ysiz = 0; @@ -32,8 +36,14 @@ int ymax = 0; COLR bgcolr = BLKCOLR; /* background color */ +int labelht = 24; /* label height */ + int checkthresh = 0; /* check threshold value */ +char StandardInput[] = ""; +char Command[] = ""; +char Label[] = "