- This wiki is out of date, use the continuation of this wiki instead
New fnt
From FenixWiki
(Difference between revisions)
Revision as of 15:04, 13 November 2007 (edit) Sandman (Talk | contribs) (New page: Category:functions Category:fonts == Definition == '''INT''' new_fnt ( <'''INT''' depth> ) Creates a new font with a certain color depth. == Parameters == {| | '''STRING''' ...) ← Previous diff |
Current revision (15:04, 13 November 2007) (edit) (undo) Sandman (Talk | contribs) m |
||
Line 6: | Line 6: | ||
Creates a new [[font]] with a certain color depth. | Creates a new [[font]] with a certain color depth. | ||
+ | |||
+ | Also called '''fnt_new'''(). | ||
== Parameters == | == Parameters == |
Current revision
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() • |