ps_clip

(PECL)

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

参见

ps_closepath()