libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Vertical dimensions for shaping lines of text with this font. More...
#include <donut/graphics/Font.hpp>
Public Attributes | |
float | ascender |
Vertical offset from the baseline to the visual top of the text. More... | |
float | descender |
Vertical offset from the baseline to the visual bottom of the text. More... | |
float | height |
Vertical offset to apply in order to advance to the next line. More... | |
Vertical dimensions for shaping lines of text with this font.
float donut::graphics::Font::LineMetrics::ascender |
Vertical offset from the baseline to the visual top of the text.
float donut::graphics::Font::LineMetrics::descender |
Vertical offset from the baseline to the visual bottom of the text.
float donut::graphics::Font::LineMetrics::height |
Vertical offset to apply in order to advance to the next line.