1 /* draw.c 4.1 83/03/09 */ 2 /* 3 * draw a line from the current place to (x,y). Such lines are 4 * supposed to be horizontal, and are affected by the current mode. 5 */ 6 7 #include "2648.h" 8 9 draw(x, y) 10 { 11 #ifdef TRACE 12 if (trace) { 13 fprintf(trace, "draw(%d,%d)\n", x, y); 14 } 15 #endif 16 sync(); 17 escseq(ESCP); 18 motion(x, y); 19 _supx = x; 20 _supy = y; 21 } 22