111468Sralph /* 2*18808Sdist * Copyright (c) 1980 Regents of the University of California. 3*18808Sdist * All rights reserved. The Berkeley software License Agreement 4*18808Sdist * specifies the terms and conditions for redistribution. 5*18808Sdist */ 6*18808Sdist 7*18808Sdist #ifndef lint 8*18808Sdist static char sccsid[] = "@(#)draw.c 5.1 (Berkeley) 04/26/85"; 9*18808Sdist #endif not lint 10*18808Sdist 11*18808Sdist /* 1211468Sralph * draw a line from the current place to (x,y). Such lines are 1311468Sralph * supposed to be horizontal, and are affected by the current mode. 1411468Sralph */ 1511468Sralph 1611468Sralph #include "2648.h" 1711468Sralph draw(x,y)1811468Sralphdraw(x, y) 1911468Sralph { 2011468Sralph #ifdef TRACE 2111468Sralph if (trace) { 2211468Sralph fprintf(trace, "draw(%d,%d)\n", x, y); 2311468Sralph } 2411468Sralph #endif 2511468Sralph sync(); 2611468Sralph escseq(ESCP); 2711468Sralph motion(x, y); 2811468Sralph _supx = x; 2911468Sralph _supy = y; 3011468Sralph } 31