©
本文档使用
php.cn手册 发布
(PHP 4 >= 4.0.5, PHP 5, PECL ming SVN)
ming_setcubicthreshold — Set cubic threshold
$threshold
)Sets the threshold error for drawing cubic beziers.
threshold
The Threshold. Lower is more accurate, hence larger file size.
没有返回值。
[#1] cece at php dot net [2002-08-28 10:18:33]
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)