gi-harfbuzz-0.0.10: HarfBuzz bindings

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

Contents

- Exported types
- Methods
- Properties
  - endConnectorLength
  - flags
  - fullAdvance
  - glyph
  - startConnectorLength

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

Instances details

Eq OtMathGlyphPartT Source # |
Instance details Defined in GI.HarfBuzz.Structs.OtMathGlyphPartT Methods (==) :: OtMathGlyphPartT -> OtMathGlyphPartT -> Bool Source # (/=) :: OtMathGlyphPartT -> OtMathGlyphPartT -> Bool Source #
GBoxed OtMathGlyphPartT Source # |
Instance details Defined in GI.HarfBuzz.Structs.OtMathGlyphPartT
ManagedPtrNewtype OtMathGlyphPartT Source # |
Instance details Defined in GI.HarfBuzz.Structs.OtMathGlyphPartT Methods toManagedPtr :: OtMathGlyphPartT -> ManagedPtr OtMathGlyphPartT Source #
TypedObject OtMathGlyphPartT Source # |
Instance details Defined in GI.HarfBuzz.Structs.OtMathGlyphPartT Methods glibType :: IO GType Source #
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 Methods new :: MonadIO m => (ManagedPtr OtMathGlyphPartT -> OtMathGlyphPartT) -> [AttrOp OtMathGlyphPartT tag] -> m OtMathGlyphPartT Source #
IsGValue (Maybe OtMathGlyphPartT) Source # | Convert `OtMathGlyphPartT` to and from `GValue`. See `toGValue` and `fromGValue`.
Instance details Defined in GI.HarfBuzz.Structs.OtMathGlyphPartT Methods gvalueGType_ :: IO GType Source # gvalueSet_ :: Ptr GValue -> Maybe OtMathGlyphPartT -> IO () Source # gvalueGet_ :: Ptr GValue -> IO (Maybe OtMathGlyphPartT) Source #
type ParentTypes OtMathGlyphPartT Source # |
Instance details Defined in GI.HarfBuzz.Structs.OtMathGlyphPartT type ParentTypes OtMathGlyphPartT = '[] :: [Type]

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 ]