diff options
Diffstat (limited to '')
-rw-r--r-- | font.c | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -18,6 +18,24 @@ #include "calmwm.h" +int +font_ascent(struct screen_ctx *sc) +{ + return (sc->font->ascent); +} + +int +font_descent(struct screen_ctx *sc) +{ + return (sc->font->descent); +} + +u_int +font_height(struct screen_ctx *sc) +{ + return (sc->fontheight); +} + void font_init(struct screen_ctx *sc) { |