OpenTTD Source: UniscribeParagraphLayout::UniscribeVisualRun Class Reference

OpenTTD Source 12.0-beta1

Public Member Functions | Private Attributes
UniscribeParagraphLayout::UniscribeVisualRun Class Reference

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

Inheritance diagram for UniscribeParagraphLayout::UniscribeVisualRun:

## Public Member Functions
| UniscribeVisualRun (const UniscribeRun &range, int x)
| UniscribeVisualRun (UniscribeVisualRun &&other) noexcept
const GlyphID * | GetGlyphs () const override
const float * | GetPositions () const override
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< float > | positions
std::vector< WORD > | char_to_glyph
int | start_pos
int | total_advance
int | num_glyphs
Font * | font
int * | glyph_to_char = nullptr

## 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:

- src/os/windows/string_uniscribe.cpp