summaryrefslogtreecommitdiffstats
path: root/src/font.h
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-17 17:54:07 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-17 17:54:07 (EDT)
commitee6f735ac7b6c3122412c09d1514b7b2f7b80141 (patch)
tree1c155ad00c12d6103903c5954c8b954eef0f96f3 /src/font.h
parente0a9d32f969a384dcace05531a244aa84bb06595 (diff)
font_get_width(), font_get_height(): New functions
Diffstat (limited to 'src/font.h')
-rw-r--r--src/font.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/font.h b/src/font.h
index cf9276a..0e22c55 100644
--- a/src/font.h
+++ b/src/font.h
@@ -29,4 +29,10 @@
struct font *
font_find(const char *name) __attribute__((pure));
+int
+font_get_width(struct font *font) __attribute__((pure));
+
+int
+font_get_height(struct font *font) __attribute__((pure));
+
#endif /* FONT_H */