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

New fnt

From FenixWiki

Revision as of 15:04, 13 November 2007 by Sandman (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


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