= 1.1.0)ps_scale — Sets scaling factor說(shuō)明ps_scale(resource $psdoc, float $x, float $y): boolSets horizontal and vertical scaling of t">

ps_scale

(PECL ps >= 1.1.0)

ps_scaleSets scaling factor

說(shuō)明

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

Sets horizontal and vertical scaling of the coordinate system.

參數(shù)

psdoc

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

x

Scaling factor in horizontal direction.

y

Scaling factor in vertical direction.

返回值

成功時(shí)返回 true, 或者在失敗時(shí)返回 false。

參見