* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)line.c 5.1 (Berkeley) %G%";
* line: draw a line from point 1 to point 2.
fprintf(trace
, "line((%d, %d), (%d, %d)),", x1
, y1
, x2
, y2
);
if (x1
==_penx
&& y1
==_peny
) {
* Get around a bug in the HP terminal where one point
* lines don't get drawn more than once.