This wiki is out of date, use the continuation of this wiki instead

New fnt

From FenixWiki

(Difference between revisions)
Jump to: navigation, search

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''' ...)
Next diff →

Revision as of 15:04, 13 November 2007


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() •
Personal tools