cvs: pear /Image_Puzzle TODO /Image_Puzzle/Puzzle Piece.php
| From: | Michal Felski | Date: | Mon, 06 Mar 2006 00:11:42 +0000 |
| Subject: | cvs: pear /Image_Puzzle TODO /Image_Puzzle/Puzzle Piece.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38941@lists.php.net to get a copy of this message | ||
fela Mon Mar 6 00:11:42 2006 UTC
Added files:
/pear/Image_Puzzle TODO
Modified files:
/pear/Image_Puzzle/Puzzle Piece.php
Log:
- TODO file of nearest and future changes
http://cvs.php.net/viewcvs.cgi/pear/Image_Puzzle/Puzzle/Piece.php?r1=1.3&r2=1.4&diff_format=u
Index: pear/Image_Puzzle/Puzzle/Piece.php
diff -u pear/Image_Puzzle/Puzzle/Piece.php:1.3 pear/Image_Puzzle/Puzzle/Piece.php:1.4
--- pear/Image_Puzzle/Puzzle/Piece.php:1.3 Sun Mar 5 21:35:57 2006
+++ pear/Image_Puzzle/Puzzle/Piece.php Mon Mar 6 00:11:42 2006
@@ -15,7 +15,7 @@
* @author Michal Felski <fela@fela.pl>
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
* @link http://pear.php.net/package/Image_Puzzle
- * @version $Id: Piece.php,v 1.3 2006/03/05 21:35:57 fela Exp $
+ * @version $Id: Piece.php,v 1.4 2006/03/06 00:11:42 fela Exp $
*/
/**
@@ -65,7 +65,11 @@
*/
private $_image;
-
+ /**
+ * Cached margins for each edge
+ *
+ * @var integer
+ */
private $_marginCache = array();
/**
@@ -75,6 +79,11 @@
*/
private $_edges = array('Top' => null, 'Bottom' => null,
'Left' => null, 'Right' => null);
+ /**
+ * Cached transparent color allocated by GD
+ *
+ * @var integer color identifier representing a transparent color
+ */
private $_transparentColor;
/**