Пример #1
0
 /**
  * Horizontal mirroring
  *
  * @return bool|PEAR_Error TRUE or a PEAR_Error object on error
  * @access public
  */
 function mirror()
 {
     if (!imagick_flop($this->imageHandle)) {
         return $this->raiseError('Couldn\'t mirror the image.', IMAGE_TRANSFORM_ERROR_FAILED);
     }
     return true;
 }
 /**
  * Horizontally mirror (flop) the image
  * 
  * @param Asido_Image &$image
  * @return boolean
  * @access protected
  */
 function __flop(&$tmp)
 {
     return imagick_flop($tmp->target);
 }