- This wiki is out of date, use the continuation of this wiki instead
Text width
From FenixWiki
(Difference between revisions)
Revision as of 00:26, 29 December 2007 (edit) Sandman (Talk | contribs) (New page: Category:functions Category:texts ==Definition== '''INT''' text_width ( <'''INT''' fontID> , <'''STRING''' text> ) Calculates the width in pixels of the specified text in the spe...) ← Previous diff |
Current revision (00:26, 29 December 2007) (edit) (undo) Sandman (Talk | contribs) (New page: Category:functions Category:texts ==Definition== '''INT''' text_width ( <'''INT''' fontID> , <'''STRING''' text> ) Calculates the width in pixels of the specified text in the spe...) |
Current revision
Contents |
[edit] Definition
INT text_width ( <INT fontID> , <STRING text> )
Calculates the width in pixels of the specified text in the specified font.
[edit] Parameters
INT FontID | - FontID of the font for which the width of the text will be the calculated. |
STRING text | - The text of which the width will be calculated. |
[edit] Returns
INT : The width in pixels of the text in the font.
0 | - Invalid or no text; invalid font. |
>0 | - The width in pixels of the text in the font. |