(PECL ps >= 1.1.0)
ps_clip — Clips drawing to current path
$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.
   Возвращает TRUE в случае успешного завершения  или FALSE в случае возникновения ошибки.