OpenTTD Source  20241121-master-g67a0fccfad
UniscribeParagraphLayout Class Reference

Wrapper for doing layouts with Uniscribe. More...

Inheritance diagram for UniscribeParagraphLayout:
ParagraphLayouter

Data Structures

class  UniscribeLine
 A single line worth of VisualRuns. More...
 
class  UniscribeVisualRun
 Visual run contains data about the bit of text with the same font. More...
 

Public Member Functions

 UniscribeParagraphLayout (std::vector< UniscribeRun > &&ranges, const UniscribeParagraphLayoutFactory::CharType *buffer)
 
void Reflow () override
 
std::unique_ptr< const LineNextLine (int max_width) override
 

Private Attributes

const UniscribeParagraphLayoutFactory::CharTypetext_buffer
 
std::vector< UniscribeRunranges
 All runs of the text.
 
std::vector< UniscribeRun >::iterator cur_range
 The next run to be output.
 
int cur_range_offset = 0
 Offset from the start of the current run from where to output.
 

Detailed Description

Wrapper for doing layouts with Uniscribe.

Definition at line 64 of file string_uniscribe.cpp.


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