|
OpenTTD Source 20251104-master-g3befbdd52f
|
Wrapper for doing layouts with Uniscribe. More...
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 Line > | NextLine (int max_width) override |
Private Attributes | |
| const UniscribeParagraphLayoutFactory::CharType * | text_buffer |
| std::vector< UniscribeRun > | ranges |
| 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. | |
Wrapper for doing layouts with Uniscribe.
Definition at line 65 of file string_uniscribe.cpp.
|
inline |
Definition at line 117 of file string_uniscribe.cpp.
|
inlineoverride |
Definition at line 122 of file string_uniscribe.cpp.
|
overridevirtual |
Implements ParagraphLayouter.
Definition at line 319 of file string_uniscribe.cpp.
|
inlineoverridevirtual |
Implements ParagraphLayouter.
Definition at line 124 of file string_uniscribe.cpp.
|
private |
The next run to be output.
Definition at line 70 of file string_uniscribe.cpp.
|
private |
Offset from the start of the current run from where to output.
Definition at line 71 of file string_uniscribe.cpp.
|
private |
All runs of the text.
Definition at line 69 of file string_uniscribe.cpp.
|
private |
Definition at line 67 of file string_uniscribe.cpp.