コード例 #1
0
ファイル: Crop.php プロジェクト: rutkoski/simplify-thumb
 /**
  * (non-PHPdoc)
  * @see Simplify_Thumb_Plugin::process()
  */
 protected function process(\Simplify\Thumb\Processor $thumb, $x = null, $y = null, $width = null, $height = null, $r = 0, $g = 0, $b = 0, $a = 0)
 {
     $thumb->image = \Simplify\Thumb\Functions::crop($thumb->image, $x, $y, $width, $height, $r, $g, $b, $a);
 }