From:             [EMAIL PROTECTED]
Operating system: N/A
PHP version:      4.2.3
PHP Bug Type:     Documentation problem
Bug description:  imagepolygon syntax description

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 bug report at http://bugs.php.net/?id=21086&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21086&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21086&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21086&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21086&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21086&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21086&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21086&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21086&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21086&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21086&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21086&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21086&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21086&r=isapi


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

Reply via email to