glyph_position_t
- class glyph_position_t(*args, **kwargs)
The glyph_position_t
is the structure that holds the positions of the
glyph in both horizontal and vertical directions. All positions in
glyph_position_t
are relative to the current point.
Fields
- class glyph_position_t
- var
- x_advance
How much the line advances after drawing this glyph when setting text in horizontal direction.
- x_offset
How much the glyph moves on the X-axis before drawing it, this should not affect how much the line advances.
- y_advance
How much the line advances after drawing this glyph when setting text in vertical direction.
- y_offset
How much the glyph moves on the Y-axis before drawing it, this should not affect how much the line advances.