| 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.
Synopsis
- newtype GlyphInfo = GlyphInfo (ManagedPtr GlyphInfo)
- newZeroGlyphInfo :: MonadIO m => m GlyphInfo
- noGlyphInfo :: Maybe GlyphInfo
- getGlyphInfoAttr :: MonadIO m => GlyphInfo -> m GlyphVisAttr
- getGlyphInfoGeometry :: MonadIO m => GlyphInfo -> m GlyphGeometry
- getGlyphInfoGlyph :: MonadIO m => GlyphInfo -> m Word32
- setGlyphInfoGlyph :: MonadIO m => GlyphInfo -> Word32 -> m ()
Exported types
Memory-managed wrapper type.
Constructors
| GlyphInfo (ManagedPtr GlyphInfo) |
Instances
| WrappedPtr GlyphInfo Source # | |
Defined in GI.Pango.Structs.GlyphInfo | |
| tag ~ AttrSet => Constructible GlyphInfo tag Source # | |
Defined in GI.Pango.Structs.GlyphInfo | |
newZeroGlyphInfo :: MonadIO m => m GlyphInfo Source #
Construct a GlyphInfo struct initialized to zero.
Properties
attr
the visual attributes of the glyph.
getGlyphInfoAttr :: MonadIO m => GlyphInfo -> m GlyphVisAttr Source #
Get the value of the “attr” field.
When overloading is enabled, this is equivalent to
get glyphInfo #attr
geometry
the positional information about the glyph.
getGlyphInfoGeometry :: MonadIO m => GlyphInfo -> m GlyphGeometry Source #
Get the value of the “geometry” field.
When overloading is enabled, this is equivalent to
get glyphInfo #geometry
glyph
the glyph itself.
getGlyphInfoGlyph :: MonadIO m => GlyphInfo -> m Word32 Source #
Get the value of the “glyph” field.
When overloading is enabled, this is equivalent to
get glyphInfo #glyph
setGlyphInfoGlyph :: MonadIO m => GlyphInfo -> Word32 -> m () Source #
Set the value of the “glyph” field.
When overloading is enabled, this is equivalent to
setglyphInfo [ #glyph:=value ]