#21086 [Opn]: imagepolygon syntax description
| From: | pajoye@php.net | Date: | Thu, 19 Dec 2002 01:30:15 +0000 |
| Subject: | #21086 [Opn]: imagepolygon syntax description | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969350331@lists.php.net to get a copy of this message | ||
ID: 21086
Updated by: pajoye@php.net
Reported By: hinz@iConnect.de
Status: Open
Bug Type: Documentation problem
Operating System: N/A
PHP Version: 4.2.3
New Comment:
The word 'vertex' is correct, a polygon own a minimum amount of 3
verteces (which represent 3 carthesians coordonates, points).
A more 'userfriendly' word should be added, but this is correct.
pierre
Previous Comments:
------------------------------------------------------------------------
[2002-12-18 16:02:41] hinz@iConnect.de
IS:
int imagepolygon ( int im, array points, int num_points, int col) ...
num_points is the total number of vertices.
SHOULD BE:
int imagepolygon ( int im, array points, int num_points, int col) ...
num_points is the total number of points, divided by 2.
If this is not considered a bug, it's pretty misleading at least.
HTH.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21086&edit=1