|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Information about a line of shaped glyphs, including some data that is not strictly required for simple rendering. More...
#include <GREM/graphics_2d/Text2D.hpp>
Public Attributes | |
| vec2 | shapedOffset |
| Scaled offset of the baseline at the start of this line of text. | |
| vec2 | shapedSize |
| Scaled total size of this line. | |
| float | shapedAscender |
| Scaled total ascender of this line. | |
| float | shapedDescender |
| Scaled total descender of this line. | |
| size_t | shapedGlyphOffset |
| Index of the ShapedGlyph and ShapedGlyphInfo corresponding to the first glyph that is part of this line. | |
| 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. | |
Information about a line of shaped glyphs, including some data that is not strictly required for simple rendering.
| vec2 grem::graphics::Text2D::ShapedLineInfo::shapedOffset |
Scaled offset of the baseline at the start of this line of text.
| vec2 grem::graphics::Text2D::ShapedLineInfo::shapedSize |
Scaled total size of this line.
| float grem::graphics::Text2D::ShapedLineInfo::shapedAscender |
Scaled total ascender of this line.
| float grem::graphics::Text2D::ShapedLineInfo::shapedDescender |
Scaled total descender of this line.
| size_t grem::graphics::Text2D::ShapedLineInfo::shapedGlyphOffset |
Index of the ShapedGlyph and ShapedGlyphInfo corresponding to the first glyph that is part of this line.
| size_t grem::graphics::Text2D::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.