| ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
| Description | ||||||||||||||||||||||||||||||
Functions to run the rendering pipeline.
| ||||||||||||||||||||||||||||||
| Synopsis | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
| Documentation | ||||||||||||||||||||||||||||||
| data PangoContext | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
| contextListFamilies :: PangoContext -> IO [FontFamily] | ||||||||||||||||||||||||||||||
Retrieve a list of all available font families.
| ||||||||||||||||||||||||||||||
| contextGetMetrics :: PangoContext -> FontDescription -> Language -> IO FontMetrics | ||||||||||||||||||||||||||||||
Load a font. contextLoadFont :: PangoContext -> FontDescription -> Language -> IO (Maybe Font) contextLoadFont pc fd l = do fsPtr <- {} pc fd l if fsPtr==nullPtr then return Nothing else liftM Just $ makeNewGObject mkFont (return fsPtr) Load a font set. contextLoadFontSet :: PangoContext -> FontDescription -> Language -> IO (Maybe FontSet) contextLoadFontSet pc fd l = do fsPtr <- {} pc fd l if fsPtr==nullPtr then return Nothing else liftM Just $ makeNewGObject mkFontSet (return fsPtr) Query the metrics of the given font implied by the font description. | ||||||||||||||||||||||||||||||
| data FontMetrics | ||||||||||||||||||||||||||||||
| contextSetFontDescription :: PangoContext -> FontDescription -> IO () | ||||||||||||||||||||||||||||||
| Set the default FontDescription of this context. | ||||||||||||||||||||||||||||||
| contextGetFontDescription :: PangoContext -> IO FontDescription | ||||||||||||||||||||||||||||||
| Get the current FontDescription of this context. | ||||||||||||||||||||||||||||||
| contextSetLanguage :: PangoContext -> Language -> IO () | ||||||||||||||||||||||||||||||
| Set the default Language of this context. | ||||||||||||||||||||||||||||||
| contextGetLanguage :: PangoContext -> IO Language | ||||||||||||||||||||||||||||||
| Get the current Language of this context. | ||||||||||||||||||||||||||||||
| contextSetTextDir :: PangoContext -> TextDirection -> IO () | ||||||||||||||||||||||||||||||
| Set the default text direction of this context. | ||||||||||||||||||||||||||||||
| contextGetTextDir :: PangoContext -> IO TextDirection | ||||||||||||||||||||||||||||||
| Get the current text direction of this context. | ||||||||||||||||||||||||||||||
| data TextDirection | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
| Produced by Haddock version 0.6 |