php教程

ming_setcubicthreshold

(PHP 4 >= 4.0.5, PHP 5, PHP 7, PECL ming SVN)

ming_setcubicthreshold Set cubic threshold

说明

ming_setcubicthreshold ( int $threshold ) : void

Sets the threshold error for drawing cubic beziers.

参数

threshold

The Threshold. Lower is more accurate, hence larger file size.

返回值

没有返回值。

User Contributed Notes

cece at php dot net 28-Aug-2002 10: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)

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788