Represents a collection of positioned glyphs from a specific font.
size_t GetGlyphCount() const
Get the number of glyphs in the run.
const Font & GetFont() const
Get the font for this run.
bool AddGlyph(Glyph glyph, Point position)
Add a glyph at the specified position to the run.
TextRun(const Font &font)
Create an empty text run with the specified font.
const std::vector< GlyphPosition > & GetGlyphPositions() const
Get a reference to all the glyph positions within the run.
GlyphPosition(Glyph p_glyph, Point p_position)