Wrapper for doing layouts with CoreText.
More...
Wrapper for doing layouts with CoreText.
Definition at line 33 of file string_osx.cpp.
◆ CoreTextParagraphLayout()
◆ NextLine()
Construct a new line with a maximum width.
- Parameters
-
| max_width | The maximum width of the string. |
- Returns
- A Line, or
nullptr when at the end of the paragraph.
Implements ParagraphLayouter.
Definition at line 187 of file string_osx.cpp.
References cur_offset.
◆ Reflow()
| void CoreTextParagraphLayout::Reflow |
( |
| ) |
|
|
inlineoverridevirtual |
◆ cur_offset
| CFIndex CoreTextParagraphLayout::cur_offset = 0 |
|
private |
Offset from the start of the current run from where to output.
Definition at line 41 of file string_osx.cpp.
Referenced by NextLine().
◆ font_map
| const FontMap& CoreTextParagraphLayout::font_map |
|
private |
◆ length
| ptrdiff_t CoreTextParagraphLayout::length |
|
private |
◆ text_buffer
◆ typesetter
| CFAutoRelease<CTTypesetterRef> CoreTextParagraphLayout::typesetter |
|
private |
The documentation for this class was generated from the following file: