OtVarAxisInfo

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>

Constructors

this
this(uint axisIndex, harfbuzz.types.Tag tag, harfbuzz.types.OtNameId nameId, harfbuzz.types.OtVarAxisFlags flags, float minValue, float defaultValue, float maxValue)

Create a ot_var_axis_info.OtVarAxisInfo boxed type.

this
this(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr(Flag!"Dup" dup)
self
OtVarAxisInfo self()

Returns this, for use in with statements.

Properties

axisIndex
uint axisIndex [@property getter]

Get axisIndex field.

axisIndex
uint axisIndex [@property setter]

Set axisIndex field.

defaultValue
float defaultValue [@property setter]

Set defaultValue field.

defaultValue
float defaultValue [@property getter]

Get defaultValue field.

flags
harfbuzz.types.OtVarAxisFlags flags [@property getter]

Get flags field.

flags
harfbuzz.types.OtVarAxisFlags flags [@property setter]

Set flags field.

gType
GType gType [@property getter]
maxValue
float maxValue [@property getter]

Get maxValue field.

maxValue
float maxValue [@property setter]

Set maxValue field.

minValue
float minValue [@property getter]

Get minValue field.

minValue
float minValue [@property setter]

Set minValue field.

nameId
harfbuzz.types.OtNameId nameId [@property getter]

Get nameId field.

nameId
harfbuzz.types.OtNameId nameId [@property setter]

Set nameId field.

tag
harfbuzz.types.Tag tag [@property getter]

Get tag field.

tag
harfbuzz.types.Tag tag [@property setter]

Set tag field.

Static functions

getGType
GType getGType()

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.