Next Previous Up Top Contents Index

2 GP Reference Entries

make-graphics-state

Function

Summary

Creates a graphics state object.
Signature

make-graphics-state =>

Arguments

None
Values

None
Description

Themake-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 thewith-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 (viasetf) accessors for the graphics state slots. See the LispWorks User Guide for valid values for these accessors.

LispWorks CAPI Reference Manual - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker