diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-09 10:15:42 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-09 10:15:42 -0500 |
commit | 7be42dc83ff694da2f1e66a59a14fe51d3e18fba (patch) | |
tree | b4da6d79dcfd52c11a1220860670ff3ac0477e01 /text.h | |
parent | f9afc00d15f934d8509f3eeb7c62b01ca84ca204 (diff) |
case sensitivity, regex
Diffstat (limited to 'text.h')
-rw-r--r-- | text.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -53,6 +53,7 @@ extern float text_font_char_height(Font *font); extern float text_font_char_width(Font *font); // Get the dimensions of some text. extern void text_get_size(Font *font, char const *text, float *width, float *height); +extern v2 text_get_size_v2(Font *font, char const *text); extern void text_get_size32(Font *font, char32_t const *text, u64 len, float *width, float *height); extern void text_utf8(Font *font, char const *text, float x, float y, u32 color); extern void text_utf8_anchored(Font *font, char const *text, float x, float y, u32 color, Anchor anchor); |