glyph_position_t

class glyph_position_t(*args, **kwargs)
Constructors:

glyph_position_t()

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.