|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Dimensions of a single glyph in this font, for shaping text. More...
#include <GREM/graphics_2d/Font2D.hpp>
Public Attributes | |
| vec2 | size |
| Size of this glyph's rectangle when rendered, in pixels. | |
| vec2 | bearing |
| Offset from the baseline to apply to the glyph's rectangle position when rendering this glyph. | |
| float | advance |
| Horizontal offset to apply in order to advance to the next glyph position, excluding any kerning. | |
Dimensions of a single glyph in this font, for shaping text.
| vec2 grem::graphics::Font2D::GlyphMetrics::size |
Size of this glyph's rectangle when rendered, in pixels.
| vec2 grem::graphics::Font2D::GlyphMetrics::bearing |
Offset from the baseline to apply to the glyph's rectangle position when rendering this glyph.
| float grem::graphics::Font2D::GlyphMetrics::advance |
Horizontal offset to apply in order to advance to the next glyph position, excluding any kerning.