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

Get glyph

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:20, 13 November 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (14:08, 14 April 2008) (edit) (undo)
Sandman (Talk | contribs)
m
 
Line 5: Line 5:
'''INT''' get_glyph ( <'''INT''' fontID> , <'''INT''' glyphID> ) '''INT''' get_glyph ( <'''INT''' fontID> , <'''INT''' glyphID> )
-Creates a new [[graphic]] containing a certain [[glyph]] of a certain [[font]].+Creates a new [[graphic]] containing the specified [[glyph]] of the specified [[font]].
== Parameters == == Parameters ==
Line 21: Line 21:
| >0 || - The graphID of the graphic containing the glyph. | >0 || - The graphID of the graphic containing the glyph.
|} |}
 +
 +== See also ==
 +* [[set_glyph]]()
{{Funcbox {{Funcbox
| category=Fonts | category=Fonts
}} }}

Current revision


Contents

[edit] Definition

INT get_glyph ( <INT fontID> , <INT glyphID> )

Creates a new graphic containing the specified glyph of the specified font.

[edit] Parameters

INT fontID - The fontID of the font the glyph is wanted.
INT glyphID - The glyphID of the glyph in the specified font.

[edit] Returns

INT : GraphID

0 - Invalid font; Invalid glyph; could not create graphic;
>0 - The graphID of the graphic containing the glyph.

[edit] See also


Fonts Functions
Get_glyph() • Load_fnt() • New_fnt() • Save_fnt() • Set_glyph() •
Personal tools