cvs: pear /Image_Graph/Graph/Plot Line.php /Image_Graph/Graph/Plot/Smoothed Line.php

From: Date: Thu, 02 Mar 2006 12:37:37 +0000
Subject: cvs: pear /Image_Graph/Graph/Plot Line.php /Image_Graph/Graph/Plot/Smoothed Line.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38849@lists.php.net to get a copy of this message
nosey Thu Mar 2 12:37:37 2006 UTC Modified files: /pear/Image_Graph/Graph/Plot Line.php /pear/Image_Graph/Graph/Plot/Smoothed Line.php Log: Updated visibility issue with Image_Canvas using _reset() instead of reset() http://cvs.php.net/viewcvs.cgi/pear/Image_Graph/Graph/Plot/Line.php?r1=1.14&r2=1.15&diff_format=u Index: pear/Image_Graph/Graph/Plot/Line.php diff -u pear/Image_Graph/Graph/Plot/Line.php:1.14 pear/Image_Graph/Graph/Plot/Line.php:1.15 --- pear/Image_Graph/Graph/Plot/Line.php:1.14 Tue Feb 28 22:30:49 2006 +++ pear/Image_Graph/Graph/Plot/Line.php Thu Mar 2 12:37:37 2006 @@ -24,7 +24,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: Line.php,v 1.14 2006/02/28 22:30:49 nosey Exp $ + * @version CVS: $Id: Line.php,v 1.15 2006/03/02 12:37:37 nosey Exp $ * @link http://pear.php.net/package/Image_Graph */ @@ -135,8 +135,7 @@ $this->_canvas->polygon(array('connect' => false, 'map_vertices' => true)); } else { - // ugly "visibility" override hack to avoid depending on new Image_Canvas - $this->_canvas->_reset(); + $this->_canvas->reset(); } $numPoints = 0; } else { @@ -157,8 +156,7 @@ $this->_canvas->polygon(array('connect' => false, 'map_vertices' => true)); } else { - // ugly "visibility" override hack to avoid depending on new Image_Canvas - $this->_canvas->_reset(); + $this->_canvas->reset(); } } unset($keys); http://cvs.php.net/viewcvs.cgi/pear/Image_Graph/Graph/Plot/Smoothed/Line.php?r1=1.13&r2=1.14&diff_format=u Index: pear/Image_Graph/Graph/Plot/Smoothed/Line.php diff -u pear/Image_Graph/Graph/Plot/Smoothed/Line.php:1.13 pear/Image_Graph/Graph/Plot/Smoothed/Line.php:1.14 --- pear/Image_Graph/Graph/Plot/Smoothed/Line.php:1.13 Tue Feb 28 22:30:49 2006 +++ pear/Image_Graph/Graph/Plot/Smoothed/Line.php Thu Mar 2 12:37:37 2006 @@ -24,7 +24,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: Line.php,v 1.13 2006/02/28 22:30:49 nosey Exp $ + * @version CVS: $Id: Line.php,v 1.14 2006/03/02 12:37:37 nosey Exp $ * @link http://pear.php.net/package/Image_Graph */ @@ -107,8 +107,7 @@ $this->_canvas->polygon(array('connect' => false, 'map_vertices' => true)); } else { - // ugly "visibility" override hack to avoid depending on new Image_Canvas - $this->_canvas->_reset(); + $this->_canvas->reset(); } $numPoints = 0; } else { @@ -159,8 +158,7 @@ $this->_canvas->polygon(array('connect' => false, 'map_vertices' => true)); } else { - // ugly "visibility" override hack to avoid depending on new Image_Canvas - $this->_canvas->_reset(); + $this->_canvas->reset(); } } unset($keys);

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