swf_textwidth

(PHP 4 >= 4.0.0)

swf_textwidth --  文字列の幅を得る

説明

float swf_textwidth (string str)

関数swf_textwidth()は、カレントのフォントおよびフォントサイズ を用いて文字列strの幅をピクセル値で返します。