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

NextPrevUpTopContentsIndex

graphics-port-background

graphics-port-font

graphics-port-foreground

graphics-port-transform

Functions
Summary

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

Package

graphics-ports

Signature

graphics-port-background port => color-spec

graphics-port-font port => font

graphics-port-foreground port => color-spec

graphics-port-transform port => transform

(setf graphics-port-background) color-spec port => color-spec

(setf graphics-port-font) font port => font

(setf graphics-port-foreground) color-spec port => color-spec

(setf graphics-port-transform) transform port => transform

Arguments

port

A graphics port.

Values

color-spec

A color specification, or nil.

font

A font object, or nil.

transform

A transform object.

Description

The functions graphics-port-background, graphics-port-font, graphics-port-foreground and graphics-port-transform access the 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 (Macintosh version) - 25 Feb 2015

NextPrevUpTopContentsIndex