diff options
Diffstat (limited to 'graphics/hpgl2ps/end_draw.c')
-rw-r--r-- | graphics/hpgl2ps/end_draw.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/hpgl2ps/end_draw.c b/graphics/hpgl2ps/end_draw.c new file mode 100644 index 0000000000..265cf81b64 --- /dev/null +++ b/graphics/hpgl2ps/end_draw.c @@ -0,0 +1,14 @@ +#include "defn.h" + +end_draw() +{ + if (DRAW_FLAG) + { + if (lastXmove == absX && lastYmove == absY) + printf("closepath\n"); + + printf("stroke\n"); + DRAW_FLAG = 0; + } + dcount = 0; +} |