diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-05 10:51:24 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-05 10:51:24 -0500 |
commit | f6fe651ed8bedb0308f75a7b15ef913add799848 (patch) | |
tree | 0cae260a2ee614994e33eceacae537e97b0aaf9c /text.h | |
parent | dd3887ec47137b6bf993674356a73b3266bb8a51 (diff) |
switched all text rendering to new API
Diffstat (limited to 'text.h')
-rw-r--r-- | text.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |