All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS Reference Entries

graphics-port-background

graphics-port-font

graphics-port-foreground

graphics-port-transform Accessors

Summary

Accesses the background, font, foreground or transform in the graphics state of a graphics port.

Package

graphics-ports

Signatures

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

Arguments
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.
Values
background
A color specification, or nil.
font
A font object, or nil.
foreground
A color specification, or nil.
transform
A transform object.
Description

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.

See also

graphics-state
port-graphics-state
set-graphics-state
transform
with-graphics-state


CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:15