summaryrefslogtreecommitdiffstats
path: root/src/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/text.h b/src/text.h
index 86da775..9c581d6 100644
--- a/src/text.h
+++ b/src/text.h
@@ -37,6 +37,12 @@ text_get_width(struct text *text) __attribute__((pure));
size_t
text_get_height(struct text *text) __attribute__((pure));
+size_t
+text_set_width(struct text *text, size_t width);
+
+size_t
+text_set_height(struct text *text, size_t height);
+
void
text_render(struct text *text, struct font *font, png_bytepp rows);