ยค convGCattrsK

Types

convGCattrsK :: FudgetIO f =>
                [GCAttributes ColorName String] ->
                ([GCAttributes Pixel FontId] -> f b ho) -> f b ho

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 String]
GC attribute list.
kernel :: [GCAttributes Pixel FontId] -> f b ho
A fudget kernel parameterized by a GC attribute list.

See Also

createGC GCAttributes