diff options
| author | Ray <[email protected]> | 2018-12-20 12:58:27 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2018-12-20 12:58:27 +0100 |
| commit | 87ad244ee07619c21416d26e9eaa0570be088f11 (patch) | |
| tree | 23796980b1f40f12652ed249eba3035e62d67b4d /src/raylib.h | |
| parent | 5aea693f69f4ee733bbbd7e91b429125a678a874 (diff) | |
| download | raylib-87ad244ee07619c21416d26e9eaa0570be088f11.tar.gz raylib-87ad244ee07619c21416d26e9eaa0570be088f11.zip | |
Exposed LoadFontFromImage()
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 3b7a322a..430e66db 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1096,6 +1096,7 @@ RLAPI void DrawTextureNPatch(Texture2D texture, NPatchInfo nPatchInfo, Rectangle RLAPI Font GetFontDefault(void); // Get the default Font RLAPI Font LoadFont(const char *fileName); // Load font from file into GPU memory (VRAM) RLAPI Font LoadFontEx(const char *fileName, int fontSize, int charsCount, int *fontChars); // Load font from file with extended parameters +RLAPI Font LoadFontFromImage(Image image, Color key, int firstChar); // Load font from Image (XNA style) RLAPI CharInfo *LoadFontData(const char *fileName, int fontSize, int *fontChars, int charsCount, int type); // Load font data for further use RLAPI Image GenImageFontAtlas(CharInfo *chars, int charsCount, int fontSize, int padding, int packMethod); // Generate image font atlas using chars info RLAPI void UnloadFont(Font font); // Unload Font from GPU memory (VRAM) |
