All Manuals > CAPI Reference Manual > 2 GP 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-tranform 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 specific slots.

See also

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


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex