|
ZenitUI
Retained-mode C++20 UI framework
|
One visual line produced by TextEngine::layout. More...
#include <TextEngine.hpp>
Public Attributes | |
| size_t | byteStart {0} |
| Inclusive UTF-8 byte start in original text. | |
| size_t | byteEnd {0} |
| Exclusive UTF-8 byte end in original text. | |
| float | width {0.0f} |
| Measured logical width of this line. | |
| float | height {0.0f} |
| Logical height of this line box. | |
| float | yOffset {0.0f} |
| Top Y offset from the start of the text block. | |
| float | baselineOffset {0.0f} |
| Distance from yOffset down to the typographic baseline. | |
| bool | hardBreak {true} |
| true if terminated by \n or end-of-string; false on soft wrap. | |
| bool | ellipsized {false} |
| true if this line was truncated with ellipsisText. | |
| bool | isRtl {false} |
| std::vector< ShapedGlyph > | glyphs |
One visual line produced by TextEngine::layout.