diff options
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -34,10 +34,10 @@ struct text * text_new(FILE *stream); size_t -text_get_width(struct text *text) __attribute__((pure)); +text_get_width(const struct text *text) __attribute__((pure)); size_t -text_get_height(struct text *text) __attribute__((pure)); +text_get_height(const struct text *text) __attribute__((pure)); size_t text_set_width(struct text *text, size_t width); @@ -46,7 +46,7 @@ size_t text_set_height(struct text *text, size_t height); void -text_render(struct text *text, struct font *font, png_bytepp rows); +text_render(const struct text *text, const struct font *font, png_bytepp rows); struct text * text_destroy(struct text **text_p); |