summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorSiddharth Roy <[email protected]>2022-01-26 17:25:34 +0530
committerGitHub <[email protected]>2022-01-26 12:55:34 +0100
commite5ee69a0f51e7dc6e3d9c99a185c05fb8e1addb2 (patch)
tree61ac42911d0ffb4d3f57d04917ac8fa5c6f7a61a /src/raylib.h
parent76b6efc827ccd90ddfb5d7a0d6890d9f0a5074cf (diff)
downloadraylib-e5ee69a0f51e7dc6e3d9c99a185c05fb8e1addb2.tar.gz
raylib-e5ee69a0f51e7dc6e3d9c99a185c05fb8e1addb2.zip
Add DrawTextCodepoints (#2308)
* Add DrawTextCodepoints * Fixed top comment
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 6c6baa7b..228983d5 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1336,6 +1336,7 @@ RLAPI void DrawText(const char *text, int posX, int posY, int fontSize, Color co
RLAPI void DrawTextEx(Font font, const char *text, Vector2 position, float fontSize, float spacing, Color tint); // Draw text using font and additional parameters
RLAPI void DrawTextPro(Font font, const char *text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, Color tint); // Draw text using Font and pro parameters (rotation)
RLAPI void DrawTextCodepoint(Font font, int codepoint, Vector2 position, float fontSize, Color tint); // Draw one character (codepoint)
+RLAPI void DrawTextCodepoints(Font font, int *codepoints, int count, Vector2 position, float fontSize, float spacing, Color tint); // Draw multiple character (codepoint)
// Text font info functions
RLAPI int MeasureText(const char *text, int fontSize); // Measure string width for default font