* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
* This module is believed to contain source code proprietary to AT&T.
* Use and redistribution is subject to the Berkeley Software License
* Agreement and your Software Agreement with AT&T (Western Electric).
static char sccsid
[] = "@(#)line.c 8.1 (Berkeley) 6/4/93";
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.;
for (tt
=0; tt
<=maxp
; tt
++){