PHP: ming_setcubicthreshold - Manual

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, 26 Jan 2007

view this page in

# ming_setcubicthreshold

(PHP 4 >= 4.0.5, PHP 5)

ming_setcubicthreshold -- Set cubic threshold

## Описание

void ming_setcubicthreshold ( int threshold )

Sets the threshold error for drawing cubic beziers.

## Список параметров

`threshold`

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

## Возвращаемые значения

Эта функция не возвращает значения после выполнения.

add a note User Contributed Notes
ming_setcubicthreshold
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)`
rob at theblip dot please dot god dot no dot spam dot com
10-Apr-2002 12:35
`From the source code: sets the threshold error for drawing cubic beziers. Lower is more accurate, hence larger file size.`
add a note
ming_setscale ming_keypress

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST