OpenTTD Source
20241125-master-g5b02f51e17
|
Wrapper for doing layouts with ICU. More...
Data Structures | |
class | ICULine |
A single line worth of VisualRuns. More... | |
class | ICUVisualRun |
Visual run contains data about the bit of text with the same font. More... | |
Public Member Functions | |
ICUParagraphLayout (std::vector< ICURun > &&runs, UChar *buff, size_t buff_length) | |
void | Reflow () override |
std::unique_ptr< const Line > | NextLine (int max_width) override |
Private Attributes | |
std::vector< ICURun > | runs |
UChar * | buff |
size_t | buff_length |
std::vector< ICURun >::iterator | current_run |
int | partial_offset |
Wrapper for doing layouts with ICU.
Definition at line 59 of file gfx_layout_icu.cpp.