libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Result of the shape() function. More...
#include <donut/graphics/Text.hpp>
Public Attributes | |
std::size_t | shapedGlyphOffset |
Index, into the lists returned by getShapedGlyphs() and getShapedGlyphsInfo(), of the ShapedGlyph and ShapedGlyphInfo corresponding to the first glyph that was shaped. More... | |
std::size_t | shapedLineOffset |
Index, into the list returned by getShapedLinesInfo(), of the ShapedLineInfo corresponding to the first line that was shaped. More... | |
Result of the shape() function.
std::size_t donut::graphics::Text::ShapeResult::shapedGlyphOffset |
Index, into the lists returned by getShapedGlyphs() and getShapedGlyphsInfo(), of the ShapedGlyph and ShapedGlyphInfo corresponding to the first glyph that was shaped.
If no glyphs were shaped, this is the index that the first glyph would have had if it was shaped, i.e. the previous size of the lists.
std::size_t donut::graphics::Text::ShapeResult::shapedLineOffset |
Index, into the list returned by getShapedLinesInfo(), of the ShapedLineInfo corresponding to the first line that was shaped.