Searched refs:npoints (Results 1 - 1 of 1) sorted by relevance
| /PHP_TRUNK/ext/gd/ |
| H A D | gd.c | 3346 int npoints, col, nelem, i; local 3354 npoints = NPOINTS; 3362 if (npoints <= 0) { 3366 if (nelem < npoints * 2) { 3367 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Trying to use %d points in array with only %d points", npoints, nelem/2); 3371 points = (gdPointPtr) safe_emalloc(npoints, sizeof(gdPoint), 0); 3373 for (i = 0; i < npoints; i++) { 3387 gdImageFilledPolygon(im, points, npoints, col); 3389 gdImagePolygon(im, points, npoints, col);
|
Completed in 9 milliseconds