diff options
| author | Ray <[email protected]> | 2023-07-02 10:52:20 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-07-02 10:52:20 +0200 |
| commit | 3e4e4b32fdcaa2cff8854e11ff2179af4ff2afe9 (patch) | |
| tree | 44edf0c244c81c59d7e24d59e812cc8138192048 /src/raylib.h | |
| parent | 48e2663d03a74b26d86e06057d659ddc9b1b7693 (diff) | |
| download | raylib-3e4e4b32fdcaa2cff8854e11ff2179af4ff2afe9.tar.gz raylib-3e4e4b32fdcaa2cff8854e11ff2179af4ff2afe9.zip | |
WARNING: BREAKING: ADDED: `SetTextLineSpacing()`
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index cceaa210..539a3135 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1381,6 +1381,7 @@ RLAPI void DrawTextCodepoint(Font font, int codepoint, Vector2 position, float f RLAPI void DrawTextCodepoints(Font font, const int *codepoints, int count, Vector2 position, float fontSize, float spacing, Color tint); // Draw multiple character (codepoint) // Text font info functions +RLAPI void SetTextLineSpacing(int spacing); // Set vertical line spacing when drawing with line-breaks RLAPI int MeasureText(const char *text, int fontSize); // Measure string width for default font RLAPI Vector2 MeasureTextEx(Font font, const char *text, float fontSize, float spacing); // Measure string size for Font RLAPI int GetGlyphIndex(Font font, int codepoint); // Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found |
