OpenTTD
|
Wrapper for doing layouts with CoreText. More...
Data Structures | |
class | CoreTextLine |
A single line worth of VisualRuns. More... | |
class | CoreTextVisualRun |
Visual run contains data about the bit of text with the same font. More... | |
Public Member Functions | |
CoreTextParagraphLayout (CTTypesetterRef typesetter, const CoreTextParagraphLayoutFactory::CharType *buffer, ptrdiff_t len, const FontMap &fontMapping) | |
virtual void | Reflow () |
virtual const Line * | NextLine (int max_width) |
Private Attributes | |
const CoreTextParagraphLayoutFactory::CharType * | text_buffer |
ptrdiff_t | length |
const FontMap & | font_map |
CTTypesetterRef | typesetter |
CFIndex | cur_offset = 0 |
Offset from the start of the current run from where to output. | |
Wrapper for doing layouts with CoreText.
Definition at line 33 of file string_osx.cpp.