* Copyright (c) 1983 The Regents of the University of California.
* %sccs.include.proprietary.c%
static char sccsid
[] = "@(#)line.c 4.3 (Berkeley) %G%";
iline(xconv(xsc(x0
)),yconv(ysc(y0
)),xconv(xsc(x1
)),yconv(ysc(y1
)));
iline(xnow
,ynow
,xconv(xsc(x0
)),yconv(ysc(y0
)));
maxp
= sqrt(dist2(cx0
,cy0
,cx1
,cy1
))/2.;
command
= COM
|((xd
<0)<<1)|(yd
<0);
for (tt
=0; tt
<=maxp
; tt
++){