harfbuzz.glyph_position
Module for [GlyphPosition] class
class GlyphPosition
Types 1
classGlyphPosition : gobject.boxed.Boxed
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
GlyphPosition self()Returns `this`, for use in `with` statements.harfbuzz.types.Position xAdvance() @propertyGet `xAdvance` field. Returns: how much the line advances after drawing this glyph when setting text in horizontal direction.void xAdvance(harfbuzz.types.Position propval) @propertySet `xAdvance` field. Params: propval = how much the line advances after drawing this glyph when setting text in horizontal direction.harfbuzz.types.Position yAdvance() @propertyGet `yAdvance` field. Returns: how much the line advances after drawing this glyph when setting text in vertical direction.void yAdvance(harfbuzz.types.Position propval) @propertySet `yAdvance` field. Params: propval = how much the line advances after drawing this glyph when setting text in vertical direction.harfbuzz.types.Position xOffset() @propertyGet `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) @propertySet `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() @propertyGet `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) @propertySet `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...