| 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.Structs.GlyphInfo
Description
The GlyphInfo structure represents a single glyph together with
positioning information and visual attributes.
It contains the following fields.
- newtype GlyphInfo = GlyphInfo (ManagedPtr GlyphInfo)
- newZeroGlyphInfo :: MonadIO m => m GlyphInfo
- noGlyphInfo :: Maybe GlyphInfo
- getGlyphInfoAttr :: MonadIO m => GlyphInfo -> m GlyphVisAttr
- glyphInfo_attr :: AttrLabelProxy "attr"
- getGlyphInfoGeometry :: MonadIO m => GlyphInfo -> m GlyphGeometry
- glyphInfo_geometry :: AttrLabelProxy "geometry"
- getGlyphInfoGlyph :: MonadIO m => GlyphInfo -> m Word32
- glyphInfo_glyph :: AttrLabelProxy "glyph"
- setGlyphInfoGlyph :: MonadIO m => GlyphInfo -> Word32 -> m ()
Exported types
Constructors
| GlyphInfo (ManagedPtr GlyphInfo) |
Instances
| WrappedPtr GlyphInfo Source # | |
| (~) AttrOpTag tag AttrSet => Constructible GlyphInfo tag Source # | |
| ((~) * info (ResolveGlyphInfoMethod t GlyphInfo), MethodInfo * info GlyphInfo p) => IsLabel t (GlyphInfo -> p) Source # | |
| ((~) * info (ResolveGlyphInfoMethod t GlyphInfo), MethodInfo * info GlyphInfo p) => IsLabelProxy t (GlyphInfo -> p) Source # | |
| HasAttributeList * GlyphInfo Source # | |
| type AttributeList GlyphInfo Source # | |
newZeroGlyphInfo :: MonadIO m => m GlyphInfo Source #
Construct a GlyphInfo struct initialized to zero.
Properties
attr
getGlyphInfoAttr :: MonadIO m => GlyphInfo -> m GlyphVisAttr Source #
glyphInfo_attr :: AttrLabelProxy "attr" Source #
geometry
getGlyphInfoGeometry :: MonadIO m => GlyphInfo -> m GlyphGeometry Source #
glyphInfo_geometry :: AttrLabelProxy "geometry" Source #
glyph
glyphInfo_glyph :: AttrLabelProxy "glyph" Source #