Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Data type to hold math-variant information for a glyph.
Since: 1.3.3
Synopsis
- newtype OtMathGlyphVariantT = OtMathGlyphVariantT (ManagedPtr OtMathGlyphVariantT)
- newZeroOtMathGlyphVariantT :: MonadIO m => m OtMathGlyphVariantT
- getOtMathGlyphVariantTAdvance :: MonadIO m => OtMathGlyphVariantT -> m Int32
- setOtMathGlyphVariantTAdvance :: MonadIO m => OtMathGlyphVariantT -> Int32 -> m ()
- getOtMathGlyphVariantTGlyph :: MonadIO m => OtMathGlyphVariantT -> m Word32
- setOtMathGlyphVariantTGlyph :: MonadIO m => OtMathGlyphVariantT -> Word32 -> m ()
Exported types
newtype OtMathGlyphVariantT Source #
Memory-managed wrapper type.
Instances
newZeroOtMathGlyphVariantT :: MonadIO m => m OtMathGlyphVariantT Source #
Construct a OtMathGlyphVariantT
struct initialized to zero.
Methods
Properties
advance
The advance width of the variant
getOtMathGlyphVariantTAdvance :: MonadIO m => OtMathGlyphVariantT -> m Int32 Source #
Get the value of the “advance
” field.
When overloading is enabled, this is equivalent to
get
otMathGlyphVariantT #advance
setOtMathGlyphVariantTAdvance :: MonadIO m => OtMathGlyphVariantT -> Int32 -> m () Source #
Set the value of the “advance
” field.
When overloading is enabled, this is equivalent to
set
otMathGlyphVariantT [ #advance:=
value ]
glyph
The glyph index of the variant
getOtMathGlyphVariantTGlyph :: MonadIO m => OtMathGlyphVariantT -> m Word32 Source #
Get the value of the “glyph
” field.
When overloading is enabled, this is equivalent to
get
otMathGlyphVariantT #glyph
setOtMathGlyphVariantTGlyph :: MonadIO m => OtMathGlyphVariantT -> Word32 -> m () Source #
Set the value of the “glyph
” field.
When overloading is enabled, this is equivalent to
set
otMathGlyphVariantT [ #glyph:=
value ]