Luna::VG::TextGlyphArrangeResult
Describes the arrange result of one text glyph.
struct Luna::VG::TextGlyphArrangeResult
Member objects
-
The bounding rectangle of the glyph.
-
The orgin point offset of this glyph relative to the beginning of the current line.
-
The advance length of the glyph. This is not always equal to
bounding_rect.width
, because some characters may take more spaces than necessary for paddings. -
The Unicode codepoint of the glyph.
-
The index of this glyph in the shape buffer of the font atlas.