gi-harfbuzz-0.0.5: HarfBuzz bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Exported types

newtype OtMathGlyphPartT Source #

Memory-managed wrapper type.

Instances

Instances details
Eq OtMathGlyphPartT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.OtMathGlyphPartT

GBoxed OtMathGlyphPartT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.OtMathGlyphPartT

ManagedPtrNewtype OtMathGlyphPartT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.OtMathGlyphPartT

TypedObject OtMathGlyphPartT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.OtMathGlyphPartT

Methods

glibType :: IO GType #

HasParentTypes OtMathGlyphPartT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.OtMathGlyphPartT

tag ~ 'AttrSet => Constructible OtMathGlyphPartT tag Source # 
Instance details

Defined in GI.HarfBuzz.Structs.OtMathGlyphPartT

IsGValue (Maybe OtMathGlyphPartT) Source #

Convert OtMathGlyphPartT to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.HarfBuzz.Structs.OtMathGlyphPartT

type ParentTypes OtMathGlyphPartT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.OtMathGlyphPartT

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

set otMathGlyphPartT [ #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

set otMathGlyphPartT [ #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

set otMathGlyphPartT [ #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

set otMathGlyphPartT [ #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

set otMathGlyphPartT [ #startConnectorLength := value ]