createGC :: FudgetIO f => Drawable -> GCId -> GCAttributeList -> (GCId -> f hi ho) -> f hi ho wCreateGC :: FudgetIO f => GCId -> GCAttributeList -> (GCId -> f hi ho) -> f hi ho pmCreateGC :: FudgetIO f => PixmapId -> GCId -> GCAttributeList -> (GCId -> f hi ho) -> f hi ho createGCF :: Drawable -> GCId -> GCAttributeList -> (GCId -> F a b) -> F a b wCreateGCF :: GCId -> GCAttributeList -> (GCId -> F a b) -> F a b pmCreateGCF :: PixmapId -> GCId -> GCAttributeList -> (GCId -> F a b) -> F a b
createGC drawable templgc gcattrs
type GCAttributeList = [GCAttributes Pixel FontId]
createGC
is used to create a GC (graphic context) to be used in subsequent drawing
commands.
wCreateGC
and pmCreateGC
are shorthands for creating GCs for
drawing in windows and pixmaps, respectively.
drawable :: Drawable
templgc :: GCId
gcattrs :: GCAttributeList
XCreateGC
in the Xlib Programming Manual
.