cvs: pear /Image_Transform/Driver GD.php

From: Date: Sat, 21 Apr 2007 20:17:41 +0000
Subject: cvs: pear /Image_Transform/Driver GD.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-46069@lists.php.net to get a copy of this message
dufuz Sat Apr 21 20:17:41 2007 UTC Modified files: /pear/Image_Transform/Driver GD.php Log: match the case to other drivers http://cvs.php.net/viewvc.cgi/pear/Image_Transform/Driver/GD.php?r1=1.33&r2=1.34&diff_format=u Index: pear/Image_Transform/Driver/GD.php diff -u pear/Image_Transform/Driver/GD.php:1.33 pear/Image_Transform/Driver/GD.php:1.34 --- pear/Image_Transform/Driver/GD.php:1.33 Sat Apr 21 20:06:06 2007 +++ pear/Image_Transform/Driver/GD.php Sat Apr 21 20:17:41 2007 @@ -21,7 +21,7 @@ * @author Philippe Jausions <Philippe.Jausions@11abacus.com> * @copyright 2002-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: GD.php,v 1.33 2007/04/21 20:06:06 dufuz Exp $ + * @version CVS: $Id: GD.php,v 1.34 2007/04/21 20:17:41 dufuz Exp $ * @link http://pear.php.net/package/Image_Transform */ @@ -77,7 +77,7 @@ * @var resource $imageHandle * @access protected */ - var $old_image = null; + var $oldImage = null; /** * Check settings @@ -204,7 +204,7 @@ */ function addText($params) { - $this->old_image = $this->imageHandle; + $this->oldImage = $this->imageHandle; $params = array_merge($this->_get_default_text_params(), $params); extract($params); @@ -247,7 +247,7 @@ $mask = imagecolorresolve($this->imageHandle, $color_mask[0], $color_mask[1], $color_mask[2]); - $this->old_image = $this->imageHandle; + $this->oldImage= $this->imageHandle; // Multiply by -1 to change the sign, so the image is rotated clockwise $this->imageHandle = ImageRotate($this->imageHandle, $angle * -1, $mask); @@ -332,7 +332,7 @@ IMAGE_TRANSFORM_ERROR_FAILED); } - $this->old_image = $this->imageHandle; + $this->oldImage= $this->imageHandle; $this->imageHandle = $new_img; $this->resized = true; @@ -393,7 +393,7 @@ if (!$icr_res) { ImageCopyResized($new_img, $this->imageHandle, 0, 0, 0, 0, $new_x, $new_y, $this->img_x, $this->img_y); } - $this->old_image = $this->imageHandle; + $this->oldImage= $this->imageHandle; $this->imageHandle = $new_img; $this->resized = true; @@ -530,7 +530,7 @@ if (is_resource($this->old_image)){ ImageDestroy($this->old_image); } - $this->old_image = null; + $this->oldImage= null; } /**

« previous php.pear.cvs (#46069) next »