JavaScript Editor Javascript debugger     Website design 


Clips drawing to current path (PECL ps:1.1.0-1.3.5)
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.



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

Return Values

Returns TRUE on success or FALSE on failure.