GlyphQuad struct
#include <GGUI/Public/Paint.h>
One glyph to draw: where it goes, and where it is in the atlas.
This is how paint draws text. A text node holds the shaped run its measurer returned. The shaper also knows each glyph's position and atlas location; paint asks for them through a GlyphSource and emits one primitive per glyph. With no source, text is drawn as a solid block.
Public static variables
- static uint16_t NoSpan constexpr
- in no span
Public variables
- float X
- relative to the text's top left, UI units
- float Y
- relative to the text's top left, UI units
- float Width
- UI units.
- float Height
- UI units.
- uint16_t U0
- atlas region, in 65536ths of the page
- uint16_t V0
- see U0
- uint16_t U1
- see U0
- uint16_t V1
- see U0
- uint16_t Page
- atlas page
- uint16_t Span
- the TextRequest::
Spans entry it is in