PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ming_setscale> <ming_keypress
Last updated: Fri, 05 Sep 2008

view this page in

ming_setcubicthreshold

(PHP 4 >= 4.0.5, PHP 5)

ming_setcubicthreshold 三次元の閾値を設定する

説明

void ming_setcubicthreshold ( int $threshold )

三次ベジエ曲線を描画する際の閾値を設定します。

パラメータ

threshold

閾値。小さいほど正確になりますが、そのぶんサイズが大きくなります。

返り値

値を返しません。



add a note add a note User Contributed Notes
ming_setcubicthreshold
cece at php dot net
29-Aug-2002 02:18
Reading that document on Macromedia's site gives me light.

http://www.macromedia.com/support/flash/ts/documents/beziers.htm

It says, swf format only supports quadratic beziers, what less accurate than cubic beziers, but easy to render fast. I think, in swf file's beziers are quadratic interpolation of better looking quadratic beziers. Threshold value drives this accuracy (more control nodes, bigger files)

ming_setscale> <ming_keypress
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites