瀏覽代碼

Propose new function: GenImageFont()

pull/558/head
raysan5 6 年之前
父節點
當前提交
b48d225a43
共有 1 個檔案被更改,包括 9 行新增0 行删除
  1. +9
    -0
      src/textures.c

+ 9
- 0
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

Loading…
取消
儲存