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

Description

Data type for holding variation-axis values.

The minimum, default, and maximum values are in un-normalized, user scales.

<note>Note: at present, the only flag defined for flags is HB_OT_VAR_AXIS_FLAG_HIDDEN.</note>

Since: 2.2.0

Synopsis

Exported types

newZeroOtVarAxisInfoT :: MonadIO m => m OtVarAxisInfoT Source #

Construct a OtVarAxisInfoT struct initialized to zero.

Methods

Properties

axisIndex

Index of the axis in the variation-axis array

getOtVarAxisInfoTAxisIndex :: MonadIO m => OtVarAxisInfoT -> m Word32 Source #

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

get otVarAxisInfoT #axisIndex

setOtVarAxisInfoTAxisIndex :: MonadIO m => OtVarAxisInfoT -> Word32 -> m () Source #

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

set otVarAxisInfoT [ #axisIndex := value ]

defaultValue

The position on the variation axis corresponding to the font's defaults

getOtVarAxisInfoTDefaultValue :: MonadIO m => OtVarAxisInfoT -> m Float Source #

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

get otVarAxisInfoT #defaultValue

setOtVarAxisInfoTDefaultValue :: MonadIO m => OtVarAxisInfoT -> Float -> m () Source #

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

set otVarAxisInfoT [ #defaultValue := value ]

flags

The OtVarAxisFlagsT flags for the axis

getOtVarAxisInfoTFlags :: MonadIO m => OtVarAxisInfoT -> m [OtVarAxisFlagsT] Source #

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

get otVarAxisInfoT #flags

setOtVarAxisInfoTFlags :: MonadIO m => OtVarAxisInfoT -> [OtVarAxisFlagsT] -> m () Source #

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

set otVarAxisInfoT [ #flags := value ]

maxValue

The maximum value on the variation axis that the font covers

getOtVarAxisInfoTMaxValue :: MonadIO m => OtVarAxisInfoT -> m Float Source #

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

get otVarAxisInfoT #maxValue

setOtVarAxisInfoTMaxValue :: MonadIO m => OtVarAxisInfoT -> Float -> m () Source #

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

set otVarAxisInfoT [ #maxValue := value ]

minValue

The mininum value on the variation axis that the font covers

getOtVarAxisInfoTMinValue :: MonadIO m => OtVarAxisInfoT -> m Float Source #

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

get otVarAxisInfoT #minValue

setOtVarAxisInfoTMinValue :: MonadIO m => OtVarAxisInfoT -> Float -> m () Source #

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

set otVarAxisInfoT [ #minValue := value ]

nameId

The name table Name ID that provides display names for the axis

getOtVarAxisInfoTNameId :: MonadIO m => OtVarAxisInfoT -> m Word32 Source #

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

get otVarAxisInfoT #nameId

setOtVarAxisInfoTNameId :: MonadIO m => OtVarAxisInfoT -> Word32 -> m () Source #

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

set otVarAxisInfoT [ #nameId := value ]

tag

The hb_tag_t tag identifying the design variation of the axis

getOtVarAxisInfoTTag :: MonadIO m => OtVarAxisInfoT -> m Word32 Source #

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

get otVarAxisInfoT #tag

setOtVarAxisInfoTTag :: MonadIO m => OtVarAxisInfoT -> Word32 -> m () Source #

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

set otVarAxisInfoT [ #tag := value ]