|
From: Gordon K. <kin...@us...> - 2004-04-22 04:48:11
|
Update of /cvsroot/teem/teem/src/limn/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20434 Modified Files: off2eps.c Log Message: added -bg flag Index: off2eps.c =================================================================== RCS file: /cvsroot/teem/teem/src/limn/test/off2eps.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** off2eps.c 3 Mar 2004 13:14:08 -0000 1.7 --- off2eps.c 22 Apr 2004 04:40:39 -0000 1.8 *************** *** 27,31 **** char *me, *err, *inS, *outS; limnCamera *cam; ! float winscale, edgeWidth[5], creaseAngle; hestOpt *hopt=NULL; airArray *mop; --- 27,31 ---- char *me, *err, *inS, *outS; limnCamera *cam; ! float bg[3], winscale, edgeWidth[5], creaseAngle; hestOpt *hopt=NULL; airArray *mop; *************** *** 73,76 **** --- 73,78 ---- hestOptAdd(&hopt, "describe", NULL, airTypeInt, 0, 0, &describe, NULL, "for debugging: list object definition of OFF read"); + hestOptAdd(&hopt, "bg", "background", airTypeFloat, 3, 3, bg, "1 1 1", + "background RGB color; each component in range [0.0,1.0]"); hestOptAdd(&hopt, "nobg", NULL, airTypeInt, 0, 0, &nobg, NULL, "don't initially fill with background color"); *************** *** 139,142 **** --- 141,145 ---- win->ps.creaseAngle = creaseAngle; win->ps.noBackground = nobg; + ELL_3V_COPY(win->ps.bg, bg); win->file = airFopen(outS, stdout, "w"); |