|
ZenitUI
Retained-mode C++20 UI framework
|
Complete laid-out text block ready for sizing, hit-testing, and rendering. More...
#include <TextEngine.hpp>
Public Attributes | |
| std::vector< TextLine > | lines |
| Vec2 | size {0.0f, 0.0f} |
| FontMetrics | metrics {} |
| std::string | ellipsizedText |
| Populated with the truncated last line when truncated is true. | |
| bool | truncated {false} |
| bool | synthetic {false} |
| true when measured via synthetic fallback (no loaded fonts). | |
| TextDirection | resolvedDirection {TextDirection::LTR} |
Complete laid-out text block ready for sizing, hit-testing, and rendering.