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.VariationT

Description

Data type for holding variation data. Registered OpenType variation-axis tags are listed in OpenType Axis Tag Registry.

Since: 1.4.2

Synopsis

Exported types

newtype VariationT Source #

Memory-managed wrapper type.

newZeroVariationT :: MonadIO m => m VariationT Source #

Construct a VariationT struct initialized to zero.

Methods

Properties

tag

The hb_tag_t tag of the variation-axis name

getVariationTTag :: MonadIO m => VariationT -> m Word32 Source #

Get the value of the “tag” field. When overloading is enabled, this is equivalent to

get variationT #tag

setVariationTTag :: MonadIO m => VariationT -> Word32 -> m () Source #

Set the value of the “tag” field. When overloading is enabled, this is equivalent to

set variationT [ #tag := value ]

value

The value of the variation axis

getVariationTValue :: MonadIO m => VariationT -> m Float Source #

Get the value of the “value” field. When overloading is enabled, this is equivalent to

get variationT #value

setVariationTValue :: MonadIO m => VariationT -> Float -> m () Source #

Set the value of the “value” field. When overloading is enabled, this is equivalent to

set variationT [ #value := value ]