--- ray/src/px/pcompos.c 1991/05/30 09:44:36 1.7 +++ ray/src/px/pcompos.c 2003/02/22 02:07:27 2.21 @@ -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.21 2003/02/22 02:07:27 greg Exp $"; #endif - /* * pcompos.c - program to composite pictures. * @@ -12,14 +9,22 @@ static char SCCSid[] = "$SunId$ LBL"; #include +#include + +#ifdef MSDOS +#include +#endif + +#include + #include "color.h" +#include "resolu.h" -#define MAXFILE 32 +#define MAXFILE 64 -#define SIGNHT 24 -#define setpscom(b,n) sprintf(b, "psign -h %d '%.30s'|pfilt -1 -x /2 -y /2",\ - 2*SIGNHT, n) +#define HASMIN 1 +#define HASMAX 2 /* output picture size */ int xsiz = 0; @@ -32,8 +37,13 @@ int ymax = 0; COLR bgcolr = BLKCOLR; /* background color */ +int labelht = 24; /* label height */ + int checkthresh = 0; /* check threshold value */ +char Command[] = ""; +char Label[] = "