mirror of
				https://github.com/raysan5/raylib.git
				synced 2025-11-04 09:44:20 +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;
 | 
					    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
 | 
					#endif      // SUPPORT_IMAGE_GENERATION
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Generate GPU mipmaps for a texture
 | 
					// Generate GPU mipmaps for a texture
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user