Propose new function: GenImageFont()

This commit is contained in:
raysan5 2018-06-10 19:29:01 +02:00
parent 817ae07505
commit b48d225a43

View File

@ -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