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 |
- Exported types
- Methods
- fontDescriptionBetterMatch
- fontDescriptionCopy
- fontDescriptionCopyStatic
- fontDescriptionEqual
- fontDescriptionFree
- fontDescriptionFromString
- fontDescriptionGetFamily
- fontDescriptionGetGravity
- fontDescriptionGetSetFields
- fontDescriptionGetSize
- fontDescriptionGetSizeIsAbsolute
- fontDescriptionGetStretch
- fontDescriptionGetStyle
- fontDescriptionGetVariant
- fontDescriptionGetWeight
- fontDescriptionHash
- fontDescriptionMerge
- fontDescriptionMergeStatic
- fontDescriptionNew
- fontDescriptionSetAbsoluteSize
- fontDescriptionSetFamily
- fontDescriptionSetFamilyStatic
- fontDescriptionSetGravity
- fontDescriptionSetSize
- fontDescriptionSetStretch
- fontDescriptionSetStyle
- fontDescriptionSetVariant
- fontDescriptionSetWeight
- fontDescriptionToFilename
- fontDescriptionToString
- fontDescriptionUnsetFields
The #PangoFontDescription structure represents the description of an ideal font. These structures are used both to list what fonts are available on the system and also for specifying the characteristics of a font to load.
- newtype FontDescription = FontDescription (ForeignPtr FontDescription)
- noFontDescription :: Maybe FontDescription
- data FontDescriptionBetterMatchMethodInfo
- fontDescriptionBetterMatch :: MonadIO m => FontDescription -> Maybe FontDescription -> FontDescription -> m Bool
- data FontDescriptionCopyMethodInfo
- fontDescriptionCopy :: MonadIO m => FontDescription -> m (Maybe FontDescription)
- data FontDescriptionCopyStaticMethodInfo
- fontDescriptionCopyStatic :: MonadIO m => FontDescription -> m (Maybe FontDescription)
- data FontDescriptionEqualMethodInfo
- fontDescriptionEqual :: MonadIO m => FontDescription -> FontDescription -> m Bool
- data FontDescriptionFreeMethodInfo
- fontDescriptionFree :: MonadIO m => FontDescription -> m ()
- fontDescriptionFromString :: MonadIO m => Text -> m FontDescription
- data FontDescriptionGetFamilyMethodInfo
- fontDescriptionGetFamily :: MonadIO m => FontDescription -> m (Maybe Text)
- data FontDescriptionGetGravityMethodInfo
- fontDescriptionGetGravity :: MonadIO m => FontDescription -> m Gravity
- data FontDescriptionGetSetFieldsMethodInfo
- fontDescriptionGetSetFields :: MonadIO m => FontDescription -> m [FontMask]
- data FontDescriptionGetSizeMethodInfo
- fontDescriptionGetSize :: MonadIO m => FontDescription -> m Int32
- data FontDescriptionGetSizeIsAbsoluteMethodInfo
- fontDescriptionGetSizeIsAbsolute :: MonadIO m => FontDescription -> m Bool
- data FontDescriptionGetStretchMethodInfo
- fontDescriptionGetStretch :: MonadIO m => FontDescription -> m Stretch
- data FontDescriptionGetStyleMethodInfo
- fontDescriptionGetStyle :: MonadIO m => FontDescription -> m Style
- data FontDescriptionGetVariantMethodInfo
- fontDescriptionGetVariant :: MonadIO m => FontDescription -> m Variant
- data FontDescriptionGetWeightMethodInfo
- fontDescriptionGetWeight :: MonadIO m => FontDescription -> m Weight
- data FontDescriptionHashMethodInfo
- fontDescriptionHash :: MonadIO m => FontDescription -> m Word32
- data FontDescriptionMergeMethodInfo
- fontDescriptionMerge :: MonadIO m => FontDescription -> Maybe FontDescription -> Bool -> m ()
- data FontDescriptionMergeStaticMethodInfo
- fontDescriptionMergeStatic :: MonadIO m => FontDescription -> FontDescription -> Bool -> m ()
- fontDescriptionNew :: MonadIO m => m FontDescription
- data FontDescriptionSetAbsoluteSizeMethodInfo
- fontDescriptionSetAbsoluteSize :: MonadIO m => FontDescription -> Double -> m ()
- data FontDescriptionSetFamilyMethodInfo
- fontDescriptionSetFamily :: MonadIO m => FontDescription -> Text -> m ()
- data FontDescriptionSetFamilyStaticMethodInfo
- fontDescriptionSetFamilyStatic :: MonadIO m => FontDescription -> Text -> m ()
- data FontDescriptionSetGravityMethodInfo
- fontDescriptionSetGravity :: MonadIO m => FontDescription -> Gravity -> m ()
- data FontDescriptionSetSizeMethodInfo
- fontDescriptionSetSize :: MonadIO m => FontDescription -> Int32 -> m ()
- data FontDescriptionSetStretchMethodInfo
- fontDescriptionSetStretch :: MonadIO m => FontDescription -> Stretch -> m ()
- data FontDescriptionSetStyleMethodInfo
- fontDescriptionSetStyle :: MonadIO m => FontDescription -> Style -> m ()
- data FontDescriptionSetVariantMethodInfo
- fontDescriptionSetVariant :: MonadIO m => FontDescription -> Variant -> m ()
- data FontDescriptionSetWeightMethodInfo
- fontDescriptionSetWeight :: MonadIO m => FontDescription -> Weight -> m ()
- data FontDescriptionToFilenameMethodInfo
- fontDescriptionToFilename :: MonadIO m => FontDescription -> m Text
- data FontDescriptionToStringMethodInfo
- fontDescriptionToString :: MonadIO m => FontDescription -> m Text
- data FontDescriptionUnsetFieldsMethodInfo
- fontDescriptionUnsetFields :: MonadIO m => FontDescription -> [FontMask] -> m ()
Exported types
newtype FontDescription Source
Methods
fontDescriptionBetterMatch
data FontDescriptionBetterMatchMethodInfo Source
((~) * signature (Maybe FontDescription -> FontDescription -> m Bool), MonadIO m) => MethodInfo * FontDescriptionBetterMatchMethodInfo FontDescription signature |
fontDescriptionBetterMatch :: MonadIO m => FontDescription -> Maybe FontDescription -> FontDescription -> m Bool Source
fontDescriptionCopy
data FontDescriptionCopyMethodInfo Source
((~) * signature (m (Maybe FontDescription)), MonadIO m) => MethodInfo * FontDescriptionCopyMethodInfo FontDescription signature |
fontDescriptionCopy :: MonadIO m => FontDescription -> m (Maybe FontDescription) Source
fontDescriptionCopyStatic
data FontDescriptionCopyStaticMethodInfo Source
((~) * signature (m (Maybe FontDescription)), MonadIO m) => MethodInfo * FontDescriptionCopyStaticMethodInfo FontDescription signature |
fontDescriptionCopyStatic :: MonadIO m => FontDescription -> m (Maybe FontDescription) Source
fontDescriptionEqual
data FontDescriptionEqualMethodInfo Source
((~) * signature (FontDescription -> m Bool), MonadIO m) => MethodInfo * FontDescriptionEqualMethodInfo FontDescription signature |
fontDescriptionEqual :: MonadIO m => FontDescription -> FontDescription -> m Bool Source
fontDescriptionFree
data FontDescriptionFreeMethodInfo Source
((~) * signature (m ()), MonadIO m) => MethodInfo * FontDescriptionFreeMethodInfo FontDescription signature |
fontDescriptionFree :: MonadIO m => FontDescription -> m () Source
fontDescriptionFromString
fontDescriptionFromString :: MonadIO m => Text -> m FontDescription Source
fontDescriptionGetFamily
data FontDescriptionGetFamilyMethodInfo Source
((~) * signature (m (Maybe Text)), MonadIO m) => MethodInfo * FontDescriptionGetFamilyMethodInfo FontDescription signature |
fontDescriptionGetFamily :: MonadIO m => FontDescription -> m (Maybe Text) Source
fontDescriptionGetGravity
data FontDescriptionGetGravityMethodInfo Source
((~) * signature (m Gravity), MonadIO m) => MethodInfo * FontDescriptionGetGravityMethodInfo FontDescription signature |
fontDescriptionGetGravity :: MonadIO m => FontDescription -> m Gravity Source
fontDescriptionGetSetFields
data FontDescriptionGetSetFieldsMethodInfo Source
((~) * signature (m [FontMask]), MonadIO m) => MethodInfo * FontDescriptionGetSetFieldsMethodInfo FontDescription signature |
fontDescriptionGetSetFields :: MonadIO m => FontDescription -> m [FontMask] Source
fontDescriptionGetSize
data FontDescriptionGetSizeMethodInfo Source
((~) * signature (m Int32), MonadIO m) => MethodInfo * FontDescriptionGetSizeMethodInfo FontDescription signature |
fontDescriptionGetSize :: MonadIO m => FontDescription -> m Int32 Source
fontDescriptionGetSizeIsAbsolute
data FontDescriptionGetSizeIsAbsoluteMethodInfo Source
((~) * signature (m Bool), MonadIO m) => MethodInfo * FontDescriptionGetSizeIsAbsoluteMethodInfo FontDescription signature |
fontDescriptionGetSizeIsAbsolute :: MonadIO m => FontDescription -> m Bool Source
fontDescriptionGetStretch
data FontDescriptionGetStretchMethodInfo Source
((~) * signature (m Stretch), MonadIO m) => MethodInfo * FontDescriptionGetStretchMethodInfo FontDescription signature |
fontDescriptionGetStretch :: MonadIO m => FontDescription -> m Stretch Source
fontDescriptionGetStyle
data FontDescriptionGetStyleMethodInfo Source
((~) * signature (m Style), MonadIO m) => MethodInfo * FontDescriptionGetStyleMethodInfo FontDescription signature |
fontDescriptionGetStyle :: MonadIO m => FontDescription -> m Style Source
fontDescriptionGetVariant
data FontDescriptionGetVariantMethodInfo Source
((~) * signature (m Variant), MonadIO m) => MethodInfo * FontDescriptionGetVariantMethodInfo FontDescription signature |
fontDescriptionGetVariant :: MonadIO m => FontDescription -> m Variant Source
fontDescriptionGetWeight
data FontDescriptionGetWeightMethodInfo Source
((~) * signature (m Weight), MonadIO m) => MethodInfo * FontDescriptionGetWeightMethodInfo FontDescription signature |
fontDescriptionGetWeight :: MonadIO m => FontDescription -> m Weight Source
fontDescriptionHash
data FontDescriptionHashMethodInfo Source
((~) * signature (m Word32), MonadIO m) => MethodInfo * FontDescriptionHashMethodInfo FontDescription signature |
fontDescriptionHash :: MonadIO m => FontDescription -> m Word32 Source
fontDescriptionMerge
data FontDescriptionMergeMethodInfo Source
((~) * signature (Maybe FontDescription -> Bool -> m ()), MonadIO m) => MethodInfo * FontDescriptionMergeMethodInfo FontDescription signature |
fontDescriptionMerge :: MonadIO m => FontDescription -> Maybe FontDescription -> Bool -> m () Source
fontDescriptionMergeStatic
data FontDescriptionMergeStaticMethodInfo Source
((~) * signature (FontDescription -> Bool -> m ()), MonadIO m) => MethodInfo * FontDescriptionMergeStaticMethodInfo FontDescription signature |
fontDescriptionMergeStatic :: MonadIO m => FontDescription -> FontDescription -> Bool -> m () Source
fontDescriptionNew
fontDescriptionNew :: MonadIO m => m FontDescription Source
fontDescriptionSetAbsoluteSize
data FontDescriptionSetAbsoluteSizeMethodInfo Source
((~) * signature (Double -> m ()), MonadIO m) => MethodInfo * FontDescriptionSetAbsoluteSizeMethodInfo FontDescription signature |
fontDescriptionSetAbsoluteSize :: MonadIO m => FontDescription -> Double -> m () Source
fontDescriptionSetFamily
data FontDescriptionSetFamilyMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m) => MethodInfo * FontDescriptionSetFamilyMethodInfo FontDescription signature |
fontDescriptionSetFamily :: MonadIO m => FontDescription -> Text -> m () Source
fontDescriptionSetFamilyStatic
data FontDescriptionSetFamilyStaticMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m) => MethodInfo * FontDescriptionSetFamilyStaticMethodInfo FontDescription signature |
fontDescriptionSetFamilyStatic :: MonadIO m => FontDescription -> Text -> m () Source
fontDescriptionSetGravity
data FontDescriptionSetGravityMethodInfo Source
((~) * signature (Gravity -> m ()), MonadIO m) => MethodInfo * FontDescriptionSetGravityMethodInfo FontDescription signature |
fontDescriptionSetGravity :: MonadIO m => FontDescription -> Gravity -> m () Source
fontDescriptionSetSize
data FontDescriptionSetSizeMethodInfo Source
((~) * signature (Int32 -> m ()), MonadIO m) => MethodInfo * FontDescriptionSetSizeMethodInfo FontDescription signature |
fontDescriptionSetSize :: MonadIO m => FontDescription -> Int32 -> m () Source
fontDescriptionSetStretch
data FontDescriptionSetStretchMethodInfo Source
((~) * signature (Stretch -> m ()), MonadIO m) => MethodInfo * FontDescriptionSetStretchMethodInfo FontDescription signature |
fontDescriptionSetStretch :: MonadIO m => FontDescription -> Stretch -> m () Source
fontDescriptionSetStyle
data FontDescriptionSetStyleMethodInfo Source
((~) * signature (Style -> m ()), MonadIO m) => MethodInfo * FontDescriptionSetStyleMethodInfo FontDescription signature |
fontDescriptionSetStyle :: MonadIO m => FontDescription -> Style -> m () Source
fontDescriptionSetVariant
data FontDescriptionSetVariantMethodInfo Source
((~) * signature (Variant -> m ()), MonadIO m) => MethodInfo * FontDescriptionSetVariantMethodInfo FontDescription signature |
fontDescriptionSetVariant :: MonadIO m => FontDescription -> Variant -> m () Source
fontDescriptionSetWeight
data FontDescriptionSetWeightMethodInfo Source
((~) * signature (Weight -> m ()), MonadIO m) => MethodInfo * FontDescriptionSetWeightMethodInfo FontDescription signature |
fontDescriptionSetWeight :: MonadIO m => FontDescription -> Weight -> m () Source
fontDescriptionToFilename
data FontDescriptionToFilenameMethodInfo Source
((~) * signature (m Text), MonadIO m) => MethodInfo * FontDescriptionToFilenameMethodInfo FontDescription signature |
fontDescriptionToFilename :: MonadIO m => FontDescription -> m Text Source
fontDescriptionToString
data FontDescriptionToStringMethodInfo Source
((~) * signature (m Text), MonadIO m) => MethodInfo * FontDescriptionToStringMethodInfo FontDescription signature |
fontDescriptionToString :: MonadIO m => FontDescription -> m Text Source
fontDescriptionUnsetFields
data FontDescriptionUnsetFieldsMethodInfo Source
((~) * signature ([FontMask] -> m ()), MonadIO m) => MethodInfo * FontDescriptionUnsetFieldsMethodInfo FontDescription signature |
fontDescriptionUnsetFields :: MonadIO m => FontDescription -> [FontMask] -> m () Source