data GCtx = GC GCId FontStruct rootGCtx :: GCtx wCreateGCtx :: (FontGen b, FudgetIO e, ColorGen a) => GCtx -> [GCAttributes a b] -> (GCtx -> e c d) -> e c d createGCtx :: (FontGen b, FudgetIO e, ColorGen a) => Drawable -> GCtx -> [GCAttributes a b] -> (GCtx -> e c d) -> e c d
Values of type GCtx
contain a GCId and the FontStruct of
the font used by the GC.
GCtx
s are used by the rendering system for Drawings. For
efficiency, rather than embedding drawing attributes (e.g., color and font
names) in drawings, an appropriate GCtx
can be created in advance
and included in the drawing.
wCreateGCtx
creates a new GCtx
by modifying a template GCtx
.
rootGCtx
can be used as a template, but should not be used for any
other purpose.
Data type for composite graphics: Drawing.
This page documents work progress. Information on this page is subject to change without notice and does not represent a commitment on the part of the Fudgets corporation.