harfbuzz.glyph_position

Module for [GlyphPosition] class

Types 1

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.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
GlyphPosition self() nothrowReturns `this`, for use in `with` statements.
harfbuzz.types.Position xAdvance() @property nothrowGet `xAdvance` field. Returns: how much the line advances after drawing this glyph when setting text in horizontal direction.
void xAdvance(harfbuzz.types.Position propval) @property nothrowSet `xAdvance` field. Params: propval = how much the line advances after drawing this glyph when setting text in horizontal direction.
harfbuzz.types.Position yAdvance() @property nothrowGet `yAdvance` field. Returns: how much the line advances after drawing this glyph when setting text in vertical direction.
void yAdvance(harfbuzz.types.Position propval) @property nothrowSet `yAdvance` field. Params: propval = how much the line advances after drawing this glyph when setting text in vertical direction.
harfbuzz.types.Position xOffset() @property nothrowGet `xOffset` field. Returns: how much the glyph moves on the X-axis before drawing it, this should not affect how much the line advances.
void xOffset(harfbuzz.types.Position propval) @property nothrowSet `xOffset` field. Params: propval = how much the glyph moves on the X-axis before drawing it, this should not affect how much the line advances.
harfbuzz.types.Position yOffset() @property nothrowGet `yOffset` field. Returns: how much the glyph moves on the Y-axis before drawing it, this should not affect how much the line advances.
void yOffset(harfbuzz.types.Position propval) @property nothrowSet `yOffset` field. Params: propval = how much the glyph moves on the Y-axis before drawing it, this should not affect how much the line advances.
Constructors
this(harfbuzz.types.Position xAdvance = harfbuzz.types.Position.init, harfbuzz.types.Position yAdvance = harfbuzz.types.Position.init, harfbuzz.types.Position xOffset = harfbuzz.types.Position.init, harfbuzz.types.Position yOffset = harfbuzz.types.Position.init)Create a `glyph_position.GlyphPosition` boxed type. Params: xAdvance = how much the line advances after drawing this glyph when setting text in horizontal direction. yAdvance = how much the line ad...
this(void * ptr, Flag!"Take" take)