Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
swf_textwidth

swf_textwidth

(PHP 4, PECL)

swf_textwidth -- Get the width of a string

Description

float swf_textwidth ( string str )

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

Parameters

str

The string.

Return Values

Returns the line width, as a float.