UI module

Glyph

structsince 0.31.0Source

Where a glyph is in the atlas and how to place it.

Fields

advance: float
pixels
left: float
pixels from the pen to the bitmap's left edge
top: float
pixels from the baseline up to the bitmap's top edge
width: float
bitmap size in pixels
height: float
u0: float
v0: float
u1: float
v1: float
visible: bool
false: nothing to draw (a space)

See also