Php/docs/function.ps-clip

From Get docs
Revision as of 08:17, 9 December 2020 by Notes (talk | contribs) (autoload)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ps_clip

(PECL ps >= 1.1.0)

ps_clipClips drawing to current path


Description

ps_clip ( resource $psdoc ) : bool

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.


Parameters

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


Return Values

Returns TRUE on success or FALSE on failure.


See Also