diff options
Diffstat (limited to 'src/text.c')
-rw-r--r-- | src/text.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -105,13 +105,13 @@ text_new(FILE *stream) } size_t -text_get_width(struct text *text) +text_get_width(const struct text *text) { return text->width; } size_t -text_get_height(struct text *text) +text_get_height(const struct text *text) { return text->height; } @@ -129,7 +129,7 @@ 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) { unsigned char *string_start; unsigned char *string; |