aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/textures.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/textures.c b/src/textures.c
index c7bd7648..789da14c 100644
--- a/src/textures.c
+++ b/src/textures.c
@@ -1979,6 +1979,15 @@ Image GenImageCellular(int width, int height, int tileSize)
return image;
}
+
+// Generate image: font atlas. Requires TTF as input file.
+// NOTE: Generated atlas packs characters in order and rectangles are defined with magenta borders (?)
+Image GenImageFont(const char *fileName, int fontSize, int charsCount, int *fontChars, CharInfo *chars)
+{
+ CharInfo *chars; // Characters info (if required)
+
+ // TODO.
+}
#endif // SUPPORT_IMAGE_GENERATION
// Generate GPU mipmaps for a texture