Searched refs:npoints (Results 1 – 1 of 1) sorted by relevance
/PHP-5.5/ext/gd/ |
H A D | gd.c | 3327 int npoints, col, nelem, i; in php_imagepolygon() local 3335 npoints = NPOINTS; in php_imagepolygon() 3343 if (npoints <= 0) { in php_imagepolygon() 3347 if (nelem < npoints * 2) { in php_imagepolygon() 3348 …LL TSRMLS_CC, E_WARNING, "Trying to use %d points in array with only %d points", npoints, nelem/2); in php_imagepolygon() 3352 points = (gdPointPtr) safe_emalloc(npoints, sizeof(gdPoint), 0); in php_imagepolygon() 3354 for (i = 0; i < npoints; i++) { in php_imagepolygon() 3380 gdImageFilledPolygon(im, points, npoints, col); in php_imagepolygon() 3382 gdImagePolygon(im, points, npoints, col); in php_imagepolygon()
|
Completed in 14 milliseconds