OpenTTD Source  20241121-master-g67a0fccfad
UniscribeParagraphLayout::UniscribeVisualRun Class Reference

Visual run contains data about the bit of text with the same font. More...

Inheritance diagram for UniscribeParagraphLayout::UniscribeVisualRun:
ParagraphLayouter::VisualRun

Public Member Functions

 UniscribeVisualRun (const UniscribeRun &range, int x)
 
 UniscribeVisualRun (UniscribeVisualRun &&other) noexcept
 
std::span< const GlyphIDGetGlyphs () const override
 
std::span< const PositionGetPositions () const override
 
std::span< const int > GetGlyphToCharMap () const override
 
const FontGetFont () const override
 
int GetLeading () const override
 
int GetGlyphCount () const override
 
int GetAdvance () const
 

Private Attributes

std::vector< GlyphIDglyphs
 
std::vector< Positionpositions
 
std::vector< WORD > char_to_glyph
 
int start_pos
 
int total_advance
 
int num_glyphs
 
Fontfont
 
std::vector< int > glyph_to_char
 

Detailed Description

Visual run contains data about the bit of text with the same font.

Definition at line 74 of file string_uniscribe.cpp.


The documentation for this class was generated from the following file: