| 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 |
GI.HarfBuzz.Structs.OtMathGlyphPartT
Description
Data type to hold information for a "part" component of a math-variant glyph. Large variants for stretchable math glyphs (such as parentheses) can be constructed on the fly from parts.
Since: 1.3.3
Synopsis
- newtype OtMathGlyphPartT = OtMathGlyphPartT (ManagedPtr OtMathGlyphPartT)
- newZeroOtMathGlyphPartT :: MonadIO m => m OtMathGlyphPartT
- getOtMathGlyphPartTEndConnectorLength :: MonadIO m => OtMathGlyphPartT -> m Int32
- setOtMathGlyphPartTEndConnectorLength :: MonadIO m => OtMathGlyphPartT -> Int32 -> m ()
- getOtMathGlyphPartTFlags :: MonadIO m => OtMathGlyphPartT -> m [OtMathGlyphPartFlagsT]
- setOtMathGlyphPartTFlags :: MonadIO m => OtMathGlyphPartT -> [OtMathGlyphPartFlagsT] -> m ()
- getOtMathGlyphPartTFullAdvance :: MonadIO m => OtMathGlyphPartT -> m Int32
- setOtMathGlyphPartTFullAdvance :: MonadIO m => OtMathGlyphPartT -> Int32 -> m ()
- getOtMathGlyphPartTGlyph :: MonadIO m => OtMathGlyphPartT -> m Word32
- setOtMathGlyphPartTGlyph :: MonadIO m => OtMathGlyphPartT -> Word32 -> m ()
- getOtMathGlyphPartTStartConnectorLength :: MonadIO m => OtMathGlyphPartT -> m Int32
- setOtMathGlyphPartTStartConnectorLength :: MonadIO m => OtMathGlyphPartT -> Int32 -> m ()
Exported types
newtype OtMathGlyphPartT Source #
Memory-managed wrapper type.
Constructors
| OtMathGlyphPartT (ManagedPtr OtMathGlyphPartT) |
Instances
newZeroOtMathGlyphPartT :: MonadIO m => m OtMathGlyphPartT Source #
Construct a OtMathGlyphPartT struct initialized to zero.
Methods
Properties
endConnectorLength
The length of the connector on the ending side of the variant part
getOtMathGlyphPartTEndConnectorLength :: MonadIO m => OtMathGlyphPartT -> m Int32 Source #
Get the value of the “end_connector_length” field.
When overloading is enabled, this is equivalent to
get otMathGlyphPartT #endConnectorLength
setOtMathGlyphPartTEndConnectorLength :: MonadIO m => OtMathGlyphPartT -> Int32 -> m () Source #
Set the value of the “end_connector_length” field.
When overloading is enabled, this is equivalent to
setotMathGlyphPartT [ #endConnectorLength:=value ]
flags
OtMathGlyphPartFlagsT flags for the part
getOtMathGlyphPartTFlags :: MonadIO m => OtMathGlyphPartT -> m [OtMathGlyphPartFlagsT] Source #
Get the value of the “flags” field.
When overloading is enabled, this is equivalent to
get otMathGlyphPartT #flags
setOtMathGlyphPartTFlags :: MonadIO m => OtMathGlyphPartT -> [OtMathGlyphPartFlagsT] -> m () Source #
Set the value of the “flags” field.
When overloading is enabled, this is equivalent to
setotMathGlyphPartT [ #flags:=value ]
fullAdvance
The total advance of the part
getOtMathGlyphPartTFullAdvance :: MonadIO m => OtMathGlyphPartT -> m Int32 Source #
Get the value of the “full_advance” field.
When overloading is enabled, this is equivalent to
get otMathGlyphPartT #fullAdvance
setOtMathGlyphPartTFullAdvance :: MonadIO m => OtMathGlyphPartT -> Int32 -> m () Source #
Set the value of the “full_advance” field.
When overloading is enabled, this is equivalent to
setotMathGlyphPartT [ #fullAdvance:=value ]
glyph
The glyph index of the variant part
getOtMathGlyphPartTGlyph :: MonadIO m => OtMathGlyphPartT -> m Word32 Source #
Get the value of the “glyph” field.
When overloading is enabled, this is equivalent to
get otMathGlyphPartT #glyph
setOtMathGlyphPartTGlyph :: MonadIO m => OtMathGlyphPartT -> Word32 -> m () Source #
Set the value of the “glyph” field.
When overloading is enabled, this is equivalent to
setotMathGlyphPartT [ #glyph:=value ]
startConnectorLength
The length of the connector on the starting side of the variant part
getOtMathGlyphPartTStartConnectorLength :: MonadIO m => OtMathGlyphPartT -> m Int32 Source #
Get the value of the “start_connector_length” field.
When overloading is enabled, this is equivalent to
get otMathGlyphPartT #startConnectorLength
setOtMathGlyphPartTStartConnectorLength :: MonadIO m => OtMathGlyphPartT -> Int32 -> m () Source #
Set the value of the “start_connector_length” field.
When overloading is enabled, this is equivalent to
setotMathGlyphPartT [ #startConnectorLength:=value ]