Searched refs:npoints (Results 1 – 1 of 1) sorted by relevance
/PHP-7.3/ext/gd/ |
H A D | gd.c | 3431 int npoints, col, nelem, i; in php_imagepolygon() local 3441 npoints = NPOINTS; in php_imagepolygon() 3449 if (npoints <= 0) { in php_imagepolygon() 3453 if (nelem < npoints * 2) { in php_imagepolygon() 3454 …php_error_docref(NULL, E_WARNING, "Trying to use %d points in array with only %d points", npoints,… in php_imagepolygon() 3458 points = (gdPointPtr) safe_emalloc(npoints, sizeof(gdPoint), 0); in php_imagepolygon() 3460 for (i = 0; i < npoints; i++) { in php_imagepolygon() 3475 gdImageOpenPolygon(im, points, npoints, col); in php_imagepolygon() 3478 gdImagePolygon(im, points, npoints, col); in php_imagepolygon() 3481 gdImageFilledPolygon(im, points, npoints, col); in php_imagepolygon()
|
Completed in 15 milliseconds