ID:               21086
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 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] [EMAIL PROTECTED]

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


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to