|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Result of the text shaping functions. More...
#include <GREM/graphics_2d/Text2D.hpp>
Public Attributes | |
| 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. | |
| size_t | shapedLineOffset |
| Index, into the list returned by getShapedLinesInfo(), of the ShapedLineInfo corresponding to the first line that was shaped. | |
Result of the text shaping functions.
| size_t grem::graphics::Text2D::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.
| size_t grem::graphics::Text2D::ShapeResult::shapedLineOffset |
Index, into the list returned by getShapedLinesInfo(), of the ShapedLineInfo corresponding to the first line that was shaped.