diff options
| author | Ray <raysan5@gmail.com> | 2016-11-13 23:54:36 +0100 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2016-11-13 23:54:36 +0100 |
| commit | 9fb6eda5f103e383f3a15d7c2a4d014752dce087 (patch) | |
| tree | bf168221d5c6a64bc0ad86402674afd69e991500 /src | |
| parent | 38df2cad253251c9fc531c2e9a3a28308aaeb718 (diff) | |
| download | raylib-9fb6eda5f103e383f3a15d7c2a4d014752dce087.tar.gz raylib-9fb6eda5f103e383f3a15d7c2a4d014752dce087.zip | |
Improved text measurement
Diffstat (limited to 'src')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 00d27466..f6243304 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -826,7 +826,7 @@ RLAPI void DrawText(const char *text, int posX, int posY, int fontSize, Color co RLAPI void DrawTextEx(SpriteFont spriteFont, const char* text, Vector2 position, // Draw text using SpriteFont and additional parameters float fontSize, int spacing, Color tint); RLAPI int MeasureText(const char *text, int fontSize); // Measure string width for default font -RLAPI Vector2 MeasureTextEx(SpriteFont spriteFont, const char *text, int fontSize, int spacing); // Measure string size for SpriteFont +RLAPI Vector2 MeasureTextEx(SpriteFont spriteFont, const char *text, float fontSize, int spacing); // Measure string size for SpriteFont RLAPI void DrawFPS(int posX, int posY); // Shows current FPS on top-left corner RLAPI const char *FormatText(const char *text, ...); // Formatting of text with variables to 'embed' |
