|
From: <kin...@us...> - 2004-02-19 04:01:38
|
Update of /cvsroot/teem/teem/src/ten In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23151/ten Modified Files: tendGlyph.c Log Message: added -nobg option to tend glyph PostScript output Index: tendGlyph.c =================================================================== RCS file: /cvsroot/teem/teem/src/ten/tendGlyph.c,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** tendGlyph.c 13 Feb 2004 23:00:09 -0000 1.23 --- tendGlyph.c 19 Feb 2004 03:51:31 -0000 1.24 *************** *** 52,56 **** tenGlyphParm *gparm; float bg[3]; ! int ires[2], slice[2]; /* so that command-line options can be read from file */ --- 52,56 ---- tenGlyphParm *gparm; float bg[3]; ! int ires[2], slice[2], nobg; /* so that command-line options can be read from file */ *************** *** 193,196 **** --- 193,199 ---- "scaling from screen space units to postscript units " "(in points)"); + hestOptAdd(&hopt, "nobg", NULL, airTypeInt, 0, 0, &nobg, NULL, + "(* postscript only *) " + "don't initially fill with background color"); /* ray-traced-specific options */ *************** *** 282,285 **** --- 285,289 ---- win->ps.lineWidth[limnEdgeTypeFrontFacet] = gparm->edgeWidth[2]; win->ps.creaseAngle = 70; + win->ps.noBackground = nobg; ELL_3V_COPY(win->ps.bg, bg); if (limnObjectRender(glyph, cam, win) |