#21086 [Opn->Csd]: imagepolygon syntax description

From: Date: Mon, 20 Jan 2003 01:40:26 +0000
Subject: #21086 [Opn->Csd]: imagepolygon syntax description
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969351083@lists.php.net to get a copy of this message
ID: 21086 Updated by: philip@php.net Reported By: hinz@iConnect.de -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: N/A PHP Version: 4.2.3 New Comment: Documentation has been modified: http://cvs.php.net/cvs.php/phpdoc/en/reference/image/functions/imagepolygon.xml Thank you for the report :) Previous Comments: ------------------------------------------------------------------------ [2002-12-18 19:30:14] pajoye@php.net 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 ------------------------------------------------------------------------ [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

« previous php.doc (#969351083) next »