diff options
| author | raysan5 <[email protected]> | 2021-08-11 18:31:56 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2021-08-11 18:31:56 +0200 |
| commit | b55418effd288d9989b86d34831c8d60a5c6c7a7 (patch) | |
| tree | c94a0c0a50b3228bcdda2d02b691fce8de7b12c2 /src/raylib.h | |
| parent | 5a259fa10ffb1ad44528d2678d3781cddd0bb1c0 (diff) | |
| download | raylib-b55418effd288d9989b86d34831c8d60a5c6c7a7.tar.gz raylib-b55418effd288d9989b86d34831c8d60a5c6c7a7.zip | |
ADDED: DrawTextPro() with text rotation support
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index fc64858e..438a079d 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1328,7 +1328,8 @@ RLAPI void UnloadFont(Font font); // Text drawing functions RLAPI void DrawFPS(int posX, int posY); // Draw current FPS RLAPI void DrawText(const char *text, int posX, int posY, int fontSize, Color color); // Draw text (using default font) -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 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) // Text misc. functions |
