diff options
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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); |