PHP 5.5.20 is available

ming_setcubicthreshold

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

ming_setcubicthreshold Fixe le niveau de seuil cubique

Description

void ming_setcubicthreshold ( int $threshold )

Fixe le niveau de seuil cubique pour dessiner des cubes bézier.

Liste de paramètres

threshold

Le niveau du seuil. Un seuil bas est plus significatif, mais génère un fichier de grande taille.

Valeurs de retour

Aucune valeur n'est retournée.

add a note add a note

User Contributed Notes 1 note

up
0
cece at php dot net
12 years ago
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)
To Top