summaryrefslogtreecommitdiffstats
path: root/src/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/text.h b/src/text.h
index 0671bb6..e3596c3 100644
--- a/src/text.h
+++ b/src/text.h
@@ -22,6 +22,10 @@
#ifndef TEXT_H
#define TEXT_H
+#include <png.h>
+
+#include "font.h"
+
struct text;
struct text *
@@ -33,6 +37,9 @@ text_get_width(struct text *text) __attribute__((pure));
int
text_get_height(struct text *text) __attribute__((pure));
+void
+text_render(struct text *text, struct font *font, png_bytepp rows);
+
struct text *
text_destroy(struct text **text_p);