|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Additional information about a single shaped glyph, including some data that is not strictly required for simple rendering. More...
#include <GREM/graphics_2d/Text2D.hpp>
Public Attributes | |
| vec2 | shapedOffset |
| Scaled offset from the starting position to draw this glyph at, in pixels. | |
| vec2 | shapedAdvance |
| Scaled offset to apply in order to advance to the next glyph position, including kerning. | |
| size_t | shapedLineIndex |
| Index of the ShapedLineInfo corresponding to the line that this glyph is part of. | |
| size_t | stringOffset |
| Byte offset in the input string of the first code unit that this glyph originated from. | |
Additional information about a single shaped glyph, including some data that is not strictly required for simple rendering.
| vec2 grem::graphics::Text2D::ShapedGlyphInfo::shapedOffset |
Scaled offset from the starting position to draw this glyph at, in pixels.
| vec2 grem::graphics::Text2D::ShapedGlyphInfo::shapedAdvance |
Scaled offset to apply in order to advance to the next glyph position, including kerning.
| size_t grem::graphics::Text2D::ShapedGlyphInfo::shapedLineIndex |
Index of the ShapedLineInfo corresponding to the line that this glyph is part of.
| size_t grem::graphics::Text2D::ShapedGlyphInfo::stringOffset |
Byte offset in the input string of the first code unit that this glyph originated from.