Function
make-graphics-state =>
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 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
setf) accessors for the graphics state slots. See the LispWorks User Guide for valid values for these accessors.