aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mglpp/graphics/Font.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mglpp/graphics/Font.hpp b/include/mglpp/graphics/Font.hpp
index afba8d3..7714144 100644
--- a/include/mglpp/graphics/Font.hpp
+++ b/include/mglpp/graphics/Font.hpp
@@ -31,6 +31,9 @@ namespace mgl {
// Returns 0 sized glyph if the font doesn't have the codepoint
FontGlyph get_glyph(uint32_t codepoint);
float get_kerning(uint32_t prev_codepoint, uint32_t codepoint);
+ int get_ascent() const;
+ int get_descent() const;
+ int get_linegap() const;
Texture get_texture() const;
mgl_font* internal_font();