rename get_text_width() to text_get_width()

This commit is contained in:
2024-09-23 15:06:58 -03:00
parent 73bf92e706
commit 34a081fccd
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ TWN_API void push_rectangle(Rect rect, Color color);
TWN_API void push_circle(Vec2 position, float radius, Color color);
TWN_API void push_text(char *string, Vec2 position, int height_px, Color color, const char *font_path);
TWN_API int get_text_width(char *string, int height_px, const char *font_path);
TWN_API int text_get_width(char *string, int height_px, const char *font_path);
/* pushes a textured 3d triangle onto the render queue */
/* vertices are in absolute coordinates, relative to world origin */