¤ convGCattrsK

Types

convGCattrsK :: (FudgetIO c) => [GCAttributes ColorName FontName] -> ([GCAttributes Pixel FontId] -> c a b) -> c a b

Synopsis

convGCattrsK gcattrs kernel

type ColorName = String
type FontName = String

Description

convGCattrsK converts a list of GC attributes where fonts and colors are specified symbolically to a list where they are specified as resource identifiers. Colors are allocated in the default colormap.

Arguments

gcattrs :: [GCAttributes ColorName FontName]
GC attribute list.
kernel :: [GCAttributes Pixel FontId] -> c a b
A fudget kernel parameterized by a GC attribute list.

See Also

createGC GCAttributes