PHP 手册
上一页 |  | 下一页

# ps_save

(PECL)

ps_save -- Save current context

## 说明

bool ps_save ( resource psdoc )

Saves the current graphics context, containing colors, translation and rotation settings and some more. A saved context can be restored with ps_restore().

## 参数

`psdoc`

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

## 返回值

如果成功则返回 `TRUE`，失败则返回 `FALSE`。

## 参见

ps_restore()

上一页 | 起始页 | 下一页
ps_rotate | 上一级 | ps_scale