Forum und email

ps_clip

(PECL ps:1.1.0-1.3.5)

ps_clip — Clips drawing to current path

说明

bool ps_clip ( resource $psdoc )

Takes the current path and uses it to define the border of a clipping area. Everything drawn outside of that area will not be visible.

参数

psdoc

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

返回值

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