OpenTTD Source  20241125-master-g5b02f51e17
ICUParagraphLayout Class Reference

Wrapper for doing layouts with ICU. More...

Inheritance diagram for ICUParagraphLayout:
ParagraphLayouter

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 LineNextLine (int max_width) override
 

Private Attributes

std::vector< ICURunruns
 
UChar * buff
 
size_t buff_length
 
std::vector< ICURun >::iterator current_run
 
int partial_offset
 

Detailed Description

Wrapper for doing layouts with ICU.

Definition at line 59 of file gfx_layout_icu.cpp.


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