PHP: ming_setscale - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ming_useconstants ming_setcubicthreshold

Last updated: Fri, 26 Jan 2007

view this page in

# ming_setscale

(PHP 4 >= 4.0.5, PHP 5)

ming_setscale -- Set scale

## Описание

void ming_setscale ( int scale )

Внимание
К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.

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

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

add a note User Contributed Notes
ming_setscale
mabuzzer at hotmail dot com
13-Mar-2002 10:58
`ming_setscale() sets the scale of the output SWF.
Inside the SWF file, coordinates are measured in TWIPS, rather than PIXELS. There are 20 TWIPS in 1 pixel.
Originally, Ming used the TWIP coordinate values, but this was quite often confusing, especially when loading a Ming generated movie into one created using Flash.
Ming v0.1.0 addressed this, by making the default coordinate system use Pixels. This function is to allow older code (which assumes the scale to be in TWIPS) to continue to function as it did under Ming pre 0.1.0
As the Ming site says, "If you have no idea what I'm talking about, good. " Because you then have no need for this function.`
add a note
ming_useconstants ming_setcubicthreshold

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