draw-line in dc<%>
Draws a line from one point to another. The current pen is used for drawing the line.
In unsmoothed mode, the points correspond to pixels, and the line
covers both the start and end points. For a pen whose scaled width is
larger than 1, the line is drawn centered over the start and
end points.
See also
set-smoothing for information on the 'aligned smoothing mode.
(-> voidsenda-dcdraw-linex1y1x2y2)
x1: real number
y1: real number
x2: real number
y2: real numberRestrictions on the magnitude of drawing coordinates are described with
dc<%>.