HarfBuzz.glyph_position_t¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
var |
r |
||
x_advance |
r/w |
how much the line advances after drawing this glyph when setting text in horizontal direction. |
|
x_offset |
r/w |
how much the glyph moves on the X-axis before drawing it, this should not affect how much the line advances. |
|
y_advance |
r/w |
how much the line advances after drawing this glyph when setting text in vertical direction. |
|
y_offset |
r/w |
how much the glyph moves on the Y-axis before drawing it, this should not affect how much the line advances. |
Methods¶
None
Details¶
- class HarfBuzz.glyph_position_t¶
The
HarfBuzz.glyph_position_t
is the structure that holds the positions of the glyph in both horizontal and vertical directions. All positions inHarfBuzz.glyph_position_t
are relative to the current point.