cvs: pear /Image_Canvas Canvas.php /Image_Canvas/docs ChangeLog
| From: | Jesper Veggerby Hansen | Date: | Tue, 28 Feb 2006 22:46:26 +0000 |
| Subject: | cvs: pear /Image_Canvas Canvas.php /Image_Canvas/docs ChangeLog | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38757@lists.php.net to get a copy of this message | ||
nosey Tue Feb 28 22:46:26 2006 UTC
Modified files:
/pear/Image_Canvas Canvas.php
/pear/Image_Canvas/docs ChangeLog
Log:
Added public reset() method to Image_Canvas
http://cvs.php.net/viewcvs.cgi/pear/Image_Canvas/Canvas.php?r1=1.6&r2=1.7&diff_format=u
Index: pear/Image_Canvas/Canvas.php
diff -u pear/Image_Canvas/Canvas.php:1.6 pear/Image_Canvas/Canvas.php:1.7
--- pear/Image_Canvas/Canvas.php:1.6 Sun Nov 27 22:22:28 2005
+++ pear/Image_Canvas/Canvas.php Tue Feb 28 22:46:25 2006
@@ -25,7 +25,7 @@
* @author Jesper Veggerby <pear.nosey@veggerby.dk>
* @copyright Copyright (C) 2003, 2004 Jesper Veggerby Hansen
* @license http://www.gnu.org/copyleft/lesser.html LGPL
License 2.1
- * @version CVS: $Id: Canvas.php,v 1.6 2005/11/27 22:22:28 nosey Exp $
+ * @version CVS: $Id: Canvas.php,v 1.7 2006/02/28 22:46:25 nosey Exp $
* @link http://pear.php.net/pepr/pepr-proposal-show.php?id=212
*/
@@ -356,7 +356,17 @@
$this->_polygon = array();
$this->_font = $this->_defaultFont;
}
-
+
+ /**
+ * Reset the canvas.
+ *
+ * Includes fillstyle, linestyle, thickness and polygon
+ */
+ function reset()
+ {
+ $this->_reset();
+ }
+
/**
* Draw a line end
*
http://cvs.php.net/viewcvs.cgi/pear/Image_Canvas/docs/ChangeLog?r1=1.18&r2=1.19&diff_format=u
Index: pear/Image_Canvas/docs/ChangeLog
diff -u pear/Image_Canvas/docs/ChangeLog:1.18 pear/Image_Canvas/docs/ChangeLog:1.19
--- pear/Image_Canvas/docs/ChangeLog:1.18 Mon Feb 13 20:53:20 2006
+++ pear/Image_Canvas/docs/ChangeLog Tue Feb 28 22:46:25 2006
@@ -4,6 +4,7 @@
Version x.x.x [2005-xxx-xx] - Jesper Veggerby <pear.nosey@veggerby.dk>
* Added clipping (GD uses Image_Canvas method involving ImageCopy(), until native support is
available throught existing GD functions gdImageSetClip())
* Fixed the way SVG rotates text to use transform
+ * Added public reset() method to Image_Canvas
* Fixed Bug #6406 "method _mapFont missing"
* Fixed Request #6632 "Style element assigned with = instead of :"
* Fixed Bug #6769 "ImageMap.php does not check for boolean false with strpos"