PHP 7.1.0 Release Candidate 4 Released


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

ming_setcubicthreshold تعیین آستانه مکعب


void ming_setcubicthreshold ( int $threshold )

تعیین آستانه خطا برای رسم bezier مکعبی.



آستانه. پایین‌تر دقیق‌تر است پس اندازه فایل بزرگ‌تر می‌شود.

Return Values

No value is returned.

add a note add a note

User Contributed Notes 1 note

cece at php dot net
14 years ago
Reading that document on Macromedia's site gives me light.

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)
To Top