Ming 函数
在线手册:中文  英文

ming_setscale

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

ming_setscale Set the global scaling factor.

说明

void ming_setscale ( float $scale )

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.

参数

scale

The scale to be set.

返回值

没有返回值。


Ming 函数
在线手册:中文  英文

用户评论:

intel dot nik at gmail dot com (2011-09-01 06:08:45)

I want create a api in flash and php to convert html text into images?
www.nidiots.co.in

mabuzzer at hotmail dot com (2002-03-13 10:58:56)

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.

易百教程