Draws a pixel or unit square at a given point.
graphics-ports
draw-point port x y &rest args
port⇩ |
A graphics port. |
x⇩ |
A real number. |
y⇩ |
A real number. |
args⇩ |
graphics-state parameters passed as keyword arguments. |
The function draw-point
draws a single-pixel point at (x y). The transform, foreground, background, operation, mask, pattern, 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.
When drawing-mode is :compatible
the output is a single pixel. Note that its position is transformed in the normal way.
When drawing-mode is :quality
this draws a unit square as if by draw-rectangle, transformed in the normal way.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44