summaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'text.h')
-rw-r--r--text.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/text.h b/text.h
index 0f0ba68..e3e2b79 100644
--- a/text.h
+++ b/text.h
@@ -60,6 +60,8 @@ extern void text_chars_begin(Font *font);
extern void text_chars_end(Font *font);
// Render a single character.
extern void text_render_char(Font *font, TextRenderState *state, char32_t c);
+// Render a null-terminated UTF-8 string (must be within text_chars_begin/end).
+extern void text_render_chars_utf8(Font *font, TextRenderState *state, char const *str);
// Free memory used by font.
extern void text_font_free(Font *font);