ZenitUI
Retained-mode C++20 UI framework
Loading...
Searching...
No Matches
ZenitUI::TextMeasureSpec Struct Reference

Typographic parameters governing shaping and measurement. More...

#include <TextEngine.hpp>

Public Attributes

FontHandle font {}
 Explicit primary font handle (optional when fontStack is set).
FontStack fontStack {}
 Ordered CSS-style font fallback names.
float fontSize {16.0f}
 Logical font size in pixels.
float letterSpacing {0.0f}
 Additional horizontal tracking between grapheme clusters (logical px).
float lineHeight {0.0f}
 Explicit line height in logical px (<= 0 uses font's natural height).
TextDirection direction {TextDirection::Auto}
 Base paragraph direction (Auto, LTR, RTL).

Detailed Description

Typographic parameters governing shaping and measurement.


The documentation for this struct was generated from the following file: