PHP 手册
上一页 |  | 下一页

# ps_scale

(PECL)

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`。

## 参见

ps_rotate()
ps_translate()

上一页 | 起始页 | 下一页
ps_save | 上一级 | ps_set_border_color