Draws a character in a given graphics port.
graphics-ports
draw-character port character x y &rest args &key block
port⇩ |
A graphics port. |
character⇩ |
A character. |
x⇩ |
A real number. |
y⇩ |
A real number. |
args⇩ |
graphics-state parameters passed as keyword arguments. |
block⇩ |
A boolean. |
The function draw-character
draws the character character at (x y) on the port. The transform, foreground, background, operation, stipple, pattern, mask, mask-transform, font, text-mode and compositing-mode from port's graphics-state are all used, unless overridden in args.
(x y) specifies the leftmost point of the character's baseline.
block, if true, causes the character to be drawn in a character cell filled with the port's graphics-state background.
The graphics-state parameter operation is not supported for drawing text on Windows.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44