std :: gui::gui_text
Struct std::GuiTextGlyph
struct GuiTextGlyph {
const ?&GuiTypeface face;
int glyph;
float x;
float y;
float advance;
int space;
unsigned long byteStart;
unsigned long byteEnd;
}One positioned glyph of a GuiTextLayout.
Fields
the face it comes from (fallback for missing glyphs)
pen position relative to the layout's origin (top-left)
baseline
a space or tab (hangs at a line end)
the UTF-8 bytes it was made from