summaryrefslogtreecommitdiff
path: root/graphics/hpgl2ps/end_draw.c
blob: 265cf81b6488c0065c62594922c2b2f19291d22b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
}