projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
date and time created 83/08/05 13:34:37 by sam
[unix-history]
/
usr
/
src
/
old
/
lib2648
/
draw.c
/* draw.c 4.1 83/03/09 */
/*
* draw a line from the current place to (x,y). Such lines are
* supposed to be horizontal, and are affected by the current mode.
*/
#include
"2648.h"
draw
(
x
,
y
)
{
#ifdef TRACE
if
(
trace
) {
fprintf
(
trace
,
"draw(%d,%d)
\n
"
,
x
,
y
);
}
#endif
sync
();
escseq
(
ESCP
);
motion
(
x
,
y
);
_supx
=
x
;
_supy
=
y
;
}