ps_save
(PECL ps >= 1.1.0)
ps_save — Save current context
說明
ps_save(resource
$psdoc): boolSaves 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() - Restore previously save context