Fenix Manual
Fenix Manual
Command Reference
Text Commands

Delete_Text
Load_Fnt
Move_Text
Text_Height
Text_Width
Write
Write_Float
Write_Int
Write_In_Map
Write_String
Write_Var
Load_Bdf
Text_Color
Save_Fnt

Text_Width
Last Modified: May 28, 2005 21:05PM
(Any)
Description

INT TEXT_WIDTH(INT SOURCE, STRING TEXT)

PARAMETERS:
source: Identifier of the font given back by Load_Fnt, or 0 to indicate the system font.
text: Text string.

DESCRIPTION:
This function calculates and gives back the width in pixels that a text element with a specified font occupies on screen, without writing it anywhere.

User Contributed Notes
Text_Width
Add Notes About Notes
There are no user contributed notes for this page.
Last updated: Mon, 30 May 2005 - 10:33:01

Manual © 2005 By Gary Moncrieff(Dazzy), Notes belong to their respective posters