Accesses the background, font, foreground or transform in the graphics state of a graphics port.
graphics-ports
graphics-port-background port => background
(setf graphics-port-background) background port => background
graphics-port-font port => font
(setf graphics-port-font) font port => font
graphics-port-foreground port => foreground
(setf graphics-port-foreground) foreground port => foreground
graphics-port-transform port => transform
(setf graphics-port-transform) transform port => transform
port⇩ |
A graphics port. |
background⇩ |
A color specification, or nil . |
font⇩ |
A font object, or nil . |
foreground⇩ |
A color specification, or nil . |
transform⇩ |
A transform object. |
background⇩ |
A color specification, or nil . |
font⇩ |
A font object, or nil . |
foreground⇩ |
A color specification, or nil . |
transform⇩ |
A transform object. |
The accessors graphics-port-background
, graphics-port-font
, graphics-port-foreground
and graphics-port-transform
access the current background, font, foreground or transform in the graphics-state associated with port. This can be used to set the value by setf.
See the graphics-state entry for the types and acceptable values of the various slots, and information about how they are used.
graphics-state
port-graphics-state
set-graphics-state
transform
with-graphics-state
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44