mirror of
				https://github.com/raysan5/raylib.git
				synced 2025-10-26 12:27:01 +00:00 
			
		
		
		
	Propose new function: GenImageFont()
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 raysan5
					raysan5