您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

ps_scale

(PECL ps:1.1.0-1.3.5)

ps_scale — Sets scaling factor

说明

bool ps_scale ( resource $psdoc , float $x , float $y )

Sets horizontal and vertical scaling of the coordinate system.

参数

psdoc

Resource identifier of the postscript file as returned by ps_new().

x

Scaling factor in horizontal direction.

y

Scaling factor in vertical direction.

返回值

如果成功则返回 TRUE,失败则返回 FALSE