Draws a line between two given points.
graphics-ports
draw-line port from-x from-y to-x to-y &rest args
port⇩ |
A graphics port. |
from-x⇩ |
A real number. |
from-y⇩ |
A real number. |
to-x⇩ |
A real number. |
to-y⇩ |
A real number. |
args⇩ |
graphics-state parameters passed as keyword arguments. |
The function draw-line
draws a line from (from-x from-y) to (to-x to-y).
The transform, foreground, background, operation, pattern, thickness, scale-thickness, dashed, dash, line-end-style, mask, shape-mode and compositing-mode from port's graphics-state are all used, unless overridden in args. Additionally on X11/Motif only, stipple is used.
CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:15