- This wiki is out of date, use the continuation of this wiki instead
New fnt
From FenixWiki
(Redirected from Fnt new)
Contents |
[edit] Definition
INT new_fnt ( <INT depth> )
Creates a new font with a certain color depth.
Also called fnt_new().
[edit] Parameters
STRING depth | - The color depth of the glyphs of the font. |
[edit] Returns
INT : FontID
-1 | - Error: could not create font. |
>=0 | - The FontID. |
[edit] 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() • |