ยค FontDirection, FontProp, et al

Font metrics

Types

data FontDirection = FontLeftToRight | FontRightToLeft
instance Enum FontDirection
instance Eq FontDirection
instance Ord FontDirection
instance Read FontDirection
instance Show FontDirection

data FontProp = FontProp Atom Int
instance Eq FontProp
instance Ord FontProp
instance Read FontProp
instance Show FontProp

data CharStruct = CharStruct {char_lbearing :: Int,
                              char_rbearing :: Int,
                              char_width :: Int,
                              char_ascent :: Int,
                              char_descent :: Int}
instance Eq CharStruct
instance Ord CharStruct
instance Read CharStruct
instance Show CharStruct

char_width :: CharStruct -> Int
char_rbearing :: CharStruct -> Int

Description

Auxiliary types for font metrics.