diff options
| author | raysan5 <[email protected]> | 2020-11-28 19:07:41 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-11-28 19:07:41 +0100 |
| commit | 14c1ee268107b2de727c2820e56a333b85ebc500 (patch) | |
| tree | 60e391bc45c6ad69e0a9e177d1a21aca5c5d8667 /src/raylib.h | |
| parent | 28213c2a206a2d5c05add21d2a74545cd9f1634a (diff) | |
| download | raylib-14c1ee268107b2de727c2820e56a333b85ebc500.tar.gz raylib-14c1ee268107b2de727c2820e56a333b85ebc500.zip | |
ADDED: UnloadFontData()
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 88c39118..538e6c2d 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1247,8 +1247,10 @@ RLAPI Font LoadFontFromImage(Image image, Color key, int firstChar); RLAPI Font LoadFontFromMemory(const char *fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount); // Load font from memory buffer, fileType refers to extension: i.e. "ttf" RLAPI CharInfo *LoadFontData(const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount, int type); // Load font data for further use RLAPI Image GenImageFontAtlas(const CharInfo *chars, Rectangle **recs, int charsCount, int fontSize, int padding, int packMethod); // Generate image font atlas using chars info +RLAPI void UnloadFontData(CharInfo *chars, int charsCount); // Unload font chars info data (RAM) RLAPI void UnloadFont(Font font); // Unload Font from GPU memory (VRAM) + // Text drawing functions RLAPI void DrawFPS(int posX, int posY); // Shows current FPS RLAPI void DrawText(const char *text, int posX, int posY, int fontSize, Color color); // Draw text (using default font) |
