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, 3 insertions, 3 deletions
diff --git a/src/text.h b/src/text.h
index 8ee0245..a76e14e 100644
--- a/src/text.h
+++ b/src/text.h
@@ -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);