SCCS-vsn: local/ditroff/ditroff.old.okeeffe/driver/dip.c 1.10
SCCS-vsn: local/ditroff/ditroff.old.okeeffe/driver/draw.c 1.8
-/* dip.c 1.9 (Berkeley) 84/04/30
+/* dip.c 1.10 (Berkeley) 84/05/09
* dip
* driver for impress/imagen canon laser printer
*/
* dip
* driver for impress/imagen canon laser printer
*/
*
* This file contains the functions for producing the graphics
* images in the canon/imagen driver for ditroff.
*
* This file contains the functions for producing the graphics
* images in the canon/imagen driver for ditroff.
int linethickness = -1; /* number of pixels wide to make lines */
int linmod = SOLID; /* type of line (SOLID, DOTTED, DASHED...) */
int linethickness = -1; /* number of pixels wide to make lines */
int linmod = SOLID; /* type of line (SOLID, DOTTED, DASHED...) */
+int polyborder = 1; /* flag for whether or not to draw a border */
word(xbound(x[i]));
word(ybound(y[i]));
}
word(xbound(x[i]));
word(ybound(y[i]));
}
- byte(ADRAW);
- byte(15);
+ if (polyborder) {
+ byte(ADRAW); /* draw the border, if requested */
+ byte(15);
+ }
if (laststipmem) { /* draw a filled path, if requested */
byte(AFPATH);
byte(7);
if (laststipmem) { /* draw a filled path, if requested */
byte(AFPATH);
byte(7);