10 static char rcsid[] =
"$Header: /l/spencer/src/urt/tools/RCS/rlebox.c,v 3.0.1.3 1992/04/30 14:11:24 spencer Exp $";
50 char * rlefname = NULL;
51 int vflag = 0, cflag = 0, margin = 0;
52 int xmin, xmax, ymin, ymax;
55 if (
scanargs( argc
, argv
, "% v%- c%- m%-margin!d infile%s",
56 &vflag
, &cflag
, &margin
, &margin
,
85 printf( vflag ?
"xmin=%d ymin=%d xmax=%d ymax=%d\n" :
87 xmin, ymin, xmax, ymax );
89 printf( vflag ?
"xmin=%d xmax=%d ymin=%d ymax=%d\n" :
91 xmin, xmax, ymin, ymax );
FILE * rle_open_f(char *prog_name, char *file_name, char *mode)
void rle_names(rle_hdr *the_hdr, const char *pgmname, const char *fname, int img_num)
char * cmd_name(char **argv)
void main(int argc, char **argv)
int rle_get_setup(rle_hdr *the_hdr)
int rle_get_error(int code, const char *pgmname, const char *fname)
int scanargs(int argc, char **argv, const char *format,...)
void rle_box(rle_hdr *the_hdr, int *xminp, int *xmaxp, int *yminp, int *ymaxp)
rle_hdr * rle_hdr_init(rle_hdr *the_hdr)