OpenTTD
|
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) | |
virtual const GlyphID * | GetGlyphs () const |
virtual const float * | GetPositions () const |
virtual const int * | GetGlyphToCharMap () const |
virtual const Font * | GetFont () const |
virtual int | GetLeading () const |
virtual int | GetGlyphCount () const |
int | GetAdvance () const |
Private Attributes | |
std::vector< GlyphID > | glyphs |
std::vector< float > | 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 45 of file string_osx.cpp.