




make-graphics-state &key 
transform
 
foreground
 
background
                    
operation
 
thickness
 
scale-thickness
 
dashed
                    
dash
 
line-end-style
 
line-joint-style mask
 
font
                    
fill-style
 
stipple
 
pattern
 
mask-x
 
mask-y
                    => 
state
The 
make-graphics-state
 function creates a graphics state object. Each graphics port has a graphics state associated with it, but you may want to create your own individual graphics states for use in specialized drawing operations. Graphics state objects do not consume local resources beyond dynamic memory for the structure (so you can be relaxed about creating them in some number if you really need to). Such objects are used in the 
with-graphics-state
 macro described below and modified using the following functions:
graphics-state-transform
graphics-state-foreground
graphics-state-background
graphics-state-operation
graphics-state-stipple
graphics-state-pattern
graphics-state-thickness
graphics-state-scale-thickness
graphics-state-dashed
graphics-state-dash
graphics-state-fill-style
graphics-state-line-end-style
graphics-state-line-joint-style
graphics-state-mask
graphics-state-mask-x
graphics-state-mask-y
graphics-state-font
These are the read and write (via 
setf
) accessors for the graphics state slots. See the "Graphics state" section in the 
LispWorks CAPI User Guide
 
for valid values for slots of the graphics state.
Note: These slots are used only on Unix: fill-style stipple pattern mask-x mask-y .
Note: operation is not supported for drawing text on Windows.