OpenTTD Source 20241224-master-gee860a5c8e
|
Visual run contains data about the bit of text with the same font. More...
Public Member Functions | |
CoreTextVisualRun (CTRunRef run, Font *font, const CoreTextParagraphLayoutFactory::CharType *buff) | |
CoreTextVisualRun (CoreTextVisualRun &&other)=default | |
std::span< const GlyphID > | GetGlyphs () const override |
std::span< const Position > | GetPositions () const override |
std::span< const int > | GetGlyphToCharMap () const override |
const Font * | GetFont () const override |
int | GetLeading () const override |
int | GetGlyphCount () const override |
int | GetAdvance () const |
Private Attributes | |
std::vector< GlyphID > | glyphs |
std::vector< Position > | positions |
std::vector< int > | glyph_to_char |
int | total_advance = 0 |
Font * | font |
Visual run contains data about the bit of text with the same font.
Definition at line 71 of file string_osx.cpp.
CoreTextParagraphLayout::CoreTextVisualRun::CoreTextVisualRun | ( | CTRunRef | run, |
Font * | font, | ||
const CoreTextParagraphLayoutFactory::CharType * | buff | ||
) |
Definition at line 231 of file string_osx.cpp.
|
inline |
Definition at line 91 of file string_osx.cpp.
|
inlineoverridevirtual |
Implements ParagraphLayouter::VisualRun.
Definition at line 88 of file string_osx.cpp.
|
inlineoverridevirtual |
Implements ParagraphLayouter::VisualRun.
Definition at line 90 of file string_osx.cpp.
|
inlineoverridevirtual |
Implements ParagraphLayouter::VisualRun.
Definition at line 84 of file string_osx.cpp.
|
inlineoverridevirtual |
Implements ParagraphLayouter::VisualRun.
Definition at line 86 of file string_osx.cpp.
|
inlineoverridevirtual |
Implements ParagraphLayouter::VisualRun.
Definition at line 89 of file string_osx.cpp.
|
inlineoverridevirtual |
Implements ParagraphLayouter::VisualRun.
Definition at line 85 of file string_osx.cpp.
|
private |
Definition at line 78 of file string_osx.cpp.
|
private |
Definition at line 75 of file string_osx.cpp.
|
private |
Definition at line 73 of file string_osx.cpp.
|
private |
Definition at line 74 of file string_osx.cpp.
|
private |
Definition at line 77 of file string_osx.cpp.