note 68066 added to function.imagefilledrectangle
| From: | terereese at hotmail dot com | Date: | Wed, 12 Jul 2006 03:02:53 +0000 |
| Subject: | note 68066 added to function.imagefilledrectangle | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-114687@lists.php.net to get a copy of this message | ||
I would like to inform developers about a problem I encountered when trying to use
imagefilledrectangle.
I noted that the order in which the start and end y coordinates are listed is extremely important.
as in the statements below.
if($this->d_values[$i]['unit_value'] < 0)
imagefilledrectangle($this->img,$position_x, $start_y , $end_x, $end_y ,$d_color);
else
imagefilledrectangle($this->img, $position_x,$ end_y , $end_x, $start_y,$d_colour);
Thanks
----
Server IP: 203.220.0.234
Probable Submitter: 203.144.14.82
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.imagefilledrectangle.php
Edit -- http://master.php.net/note/edit/68066
Del: integrated -- http://master.php.net/note/delete/68066/integrated
Del: useless -- http://master.php.net/note/delete/68066/useless
Del: bad code -- http://master.php.net/note/delete/68066/bad+code
Del: spam -- http://master.php.net/note/delete/68066/spam
Del: non-english -- http://master.php.net/note/delete/68066/non-english
Del: in docs -- http://master.php.net/note/delete/68066/in+docs
Del: other reasons-- http://master.php.net/note/delete/68066
Reject -- http://master.php.net/note/reject/68066
Search -- http://master.php.net/manage/user-notes.php