|
OpenTTD Source
14.0-beta3
|
Helper class to construct a new ICUParagraphLayout. More...
#include <gfx_layout_icu.h>
Public Types | |
| typedef UChar | CharType |
| Helper for GetLayouter, to get the right type. | |
Static Public Member Functions | |
| static ParagraphLayouter * | GetParagraphLayout (UChar *buff, UChar *buff_end, FontMap &fontMapping) |
| static size_t | AppendToBuffer (UChar *buff, const UChar *buffer_last, char32_t c) |
| static void | InitializeLayouter () |
| Initialize data needed for the ICU layouter. | |
| static std::unique_ptr< icu::BreakIterator > | GetBreakIterator () |
| Get a thread-safe line break iterator. More... | |
Static Public Attributes | |
| static const bool | SUPPORTS_RTL = true |
| Helper for GetLayouter, to get whether the layouter supports RTL. | |
Static Private Attributes | |
| static std::unique_ptr< icu::BreakIterator > | break_iterator |
Helper class to construct a new ICUParagraphLayout.
Definition at line 21 of file gfx_layout_icu.h.
|
static |
Get a thread-safe line break iterator.
Definition at line 401 of file gfx_layout_icu.cpp.