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 |
- newtype Font = Font (ForeignPtr Font)
- class GObject o => FontK o
- toFont :: FontK o => o -> IO Font
- noFont :: Maybe Font
- data FontDescribeMethodInfo
- fontDescribe :: (MonadIO m, FontK a) => a -> m FontDescription
- data FontDescribeWithAbsoluteSizeMethodInfo
- fontDescribeWithAbsoluteSize :: (MonadIO m, FontK a) => a -> m FontDescription
- fontDescriptionsFree :: MonadIO m => Maybe [FontDescription] -> m ()
- data FontGetFontMapMethodInfo
- fontGetFontMap :: (MonadIO m, FontK a) => a -> m (Maybe FontMap)
- data FontGetGlyphExtentsMethodInfo
- fontGetGlyphExtents :: (MonadIO m, FontK a) => a -> Word32 -> m (Rectangle, Rectangle)
- data FontGetMetricsMethodInfo
- fontGetMetrics :: (MonadIO m, FontK a) => a -> Maybe Language -> m FontMetrics
Exported types
GObject Font | |
((~) * info (ResolveFontMethod t Font), MethodInfo * info Font p) => IsLabelProxy t (Font -> p) | |
type ParentTypes Font | |
type AttributeList Font | |
type SignalList Font |
Methods
fontDescribe
data FontDescribeMethodInfo Source
((~) * signature (m FontDescription), MonadIO m, FontK a) => MethodInfo * FontDescribeMethodInfo a signature |
fontDescribe :: (MonadIO m, FontK a) => a -> m FontDescription Source
fontDescribeWithAbsoluteSize
data FontDescribeWithAbsoluteSizeMethodInfo Source
((~) * signature (m FontDescription), MonadIO m, FontK a) => MethodInfo * FontDescribeWithAbsoluteSizeMethodInfo a signature |
fontDescribeWithAbsoluteSize :: (MonadIO m, FontK a) => a -> m FontDescription Source
fontDescriptionsFree
fontDescriptionsFree :: MonadIO m => Maybe [FontDescription] -> m () Source
fontGetFontMap
data FontGetFontMapMethodInfo Source
((~) * signature (m (Maybe FontMap)), MonadIO m, FontK a) => MethodInfo * FontGetFontMapMethodInfo a signature |
fontGetGlyphExtents
data FontGetGlyphExtentsMethodInfo Source
((~) * signature (Word32 -> m (Rectangle, Rectangle)), MonadIO m, FontK a) => MethodInfo * FontGetGlyphExtentsMethodInfo a signature |
fontGetMetrics
data FontGetMetricsMethodInfo Source
((~) * signature (Maybe Language -> m FontMetrics), MonadIO m, FontK a) => MethodInfo * FontGetMetricsMethodInfo a signature |
fontGetMetrics :: (MonadIO m, FontK a) => a -> Maybe Language -> m FontMetrics Source