- This wiki is out of date, use the continuation of this wiki instead
New fnt
From FenixWiki
Contents |
Definition
INT new_fnt ( <INT depth> )
Creates a new font with a certain color depth.
Parameters
| STRING depth | - The color depth of the glyphs of the font. |
Returns
INT : FontID
| -1 | - Error: could not create font. |
| >=0 | - The FontID. |
Errors
| Insufficient memory | - There is insufficient memory available. This error doesn't occur often. |
| Too many fonts | - There are too many fonts loaded (255). |
| Fonts Functions | |
| • Get_glyph() • Load_fnt() • New_fnt() • Save_fnt() • Set_glyph() • | |
