| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Pango.Objects.Font
Contents
Description
- newtype Font = Font (ForeignPtr Font)
- class GObject o => FontK o
- toFont :: FontK o => o -> IO Font
- noFont :: Maybe Font
- fontDescribe :: (MonadIO m, FontK a) => a -> m FontDescription
- fontDescribeWithAbsoluteSize :: (MonadIO m, FontK a) => a -> m FontDescription
- fontDescriptionsFree :: MonadIO m => Maybe [FontDescription] -> m ()
- fontGetFontMap :: (MonadIO m, FontK a) => a -> m FontMap
- fontGetGlyphExtents :: (MonadIO m, FontK a) => a -> Word32 -> m (Rectangle, Rectangle)
- fontGetMetrics :: (MonadIO m, FontK a) => a -> Maybe Language -> m FontMetrics
Exported types
Constructors
| Font (ForeignPtr Font) |
Instances
| GObject Font | |
| type ParentTypes Font | |
| type AttributeList Font | |
| type SignalList Font |
Methods
fontDescribe
fontDescribe :: (MonadIO m, FontK a) => a -> m FontDescription Source
fontDescribeWithAbsoluteSize
fontDescribeWithAbsoluteSize :: (MonadIO m, FontK a) => a -> m FontDescription Source
fontDescriptionsFree
fontDescriptionsFree :: MonadIO m => Maybe [FontDescription] -> m () Source
fontGetFontMap
fontGetFontMap :: (MonadIO m, FontK a) => a -> m FontMap Source
fontGetGlyphExtents
fontGetMetrics
fontGetMetrics :: (MonadIO m, FontK a) => a -> Maybe Language -> m FontMetrics Source