summaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'text.h')
-rw-r--r--text.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.h b/text.h
index e5e5e61..2d7429d 100644
--- a/text.h
+++ b/text.h
@@ -60,7 +60,7 @@ float text_font_char_width(Font *font);
void text_font_set_force_monospace(Font *font, bool force);
// Get the dimensions of some text.
void text_get_size(Font *font, const char *text, float *width, float *height);
-vec2 text_get_size_v2(Font *font, const char *text);
+vec2 text_get_size_vec2(Font *font, const char *text);
void text_get_size32(Font *font, const char32_t *text, u64 len, float *width, float *height);
void text_utf8(Font *font, const char *text, double x, double y, u32 color);
void text_utf8_anchored(Font *font, const char *text, double x, double y, u32 color, Anchor anchor);