GGUI::TextMetrics struct

How big measured text is.

Public variables

float Width
widest line
float Height
all lines
float Baseline
uint64_t Run
Handle to the shaped run, so painting reuses the shaping done for measurement. 0 = none. The UI releases it when the node is re-measured or destroyed.

Variable documentation

float GGUI::TextMetrics::Baseline

top of text to the first baseline