GlyphPosition

The #hb_glyph_position_t is the structure that holds the positions of the glyph in both horizontal and vertical directions. All positions in #hb_glyph_position_t are relative to the current point.

Constructors

this
this(harfbuzz.types.Position xAdvance, harfbuzz.types.Position yAdvance, harfbuzz.types.Position xOffset, harfbuzz.types.Position yOffset)

Create a glyph_position.GlyphPosition boxed type.

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

Members

Functions

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

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]
xAdvance
harfbuzz.types.Position xAdvance [@property getter]

Get field xAdvance.

xAdvance
harfbuzz.types.Position xAdvance [@property setter]

Set field xAdvance.

xOffset
harfbuzz.types.Position xOffset [@property getter]

Get field xOffset.

xOffset
harfbuzz.types.Position xOffset [@property setter]

Set field xOffset.

yAdvance
harfbuzz.types.Position yAdvance [@property getter]

Get field yAdvance.

yAdvance
harfbuzz.types.Position yAdvance [@property setter]

Set field yAdvance.

yOffset
harfbuzz.types.Position yOffset [@property getter]

Get field yOffset.

yOffset
harfbuzz.types.Position yOffset [@property setter]

Set field yOffset.

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.