swf_textwidth

 float swf_textwidth ( string $str ) 

説明

Gives the width of the string in pixels, using the current font and font size.

戻り値

Returns the line width, as a float.