| 
    libdonut 2.3.6
    
   Application framework for cross-platform game development in C++20 
   | 
 
Dimensions of a single glyph in this font, for shaping text. More...
#include <donut/graphics/Font.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 donut::graphics::Font::GlyphMetrics::size | 
Size of this glyph's rectangle when rendered, in pixels.
| vec2 donut::graphics::Font::GlyphMetrics::bearing | 
Offset from the baseline to apply to the glyph's rectangle position when rendering this glyph.
| float donut::graphics::Font::GlyphMetrics::advance | 
Horizontal offset to apply in order to advance to the next glyph position, excluding any kerning.