libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Information about a line of shaped glyphs, including some data that is not strictly required for simple rendering. More...
#include <donut/graphics/Text.hpp>
Public Attributes | |
vec2 | shapedOffset |
Scaled offset of the baseline at the start of this line of text. More... | |
vec2 | shapedSize |
Scaled total size of this line. More... | |
std::size_t | shapedGlyphOffset |
Index of the ShapedGlyph and ShapedGlyphInfo corresponding to the first glyph that is part of this line. More... | |
std::size_t | stringOffset |
Byte offset in the input string of the first code unit that the first glyph that is part of this line originated from. More... | |
Information about a line of shaped glyphs, including some data that is not strictly required for simple rendering.
vec2 donut::graphics::Text::ShapedLineInfo::shapedOffset |
Scaled offset of the baseline at the start of this line of text.
vec2 donut::graphics::Text::ShapedLineInfo::shapedSize |
Scaled total size of this line.
std::size_t donut::graphics::Text::ShapedLineInfo::shapedGlyphOffset |
Index of the ShapedGlyph and ShapedGlyphInfo corresponding to the first glyph that is part of this line.
std::size_t donut::graphics::Text::ShapedLineInfo::stringOffset |
Byte offset in the input string of the first code unit that the first glyph that is part of this line originated from.