Searched refs:npoints (Results 1 – 1 of 1) sorted by relevance
/PHP-8.2/ext/gd/ |
H A D | gd.c | 2578 int npoints, col, nelem, i; in php_imagepolygon() local 2597 npoints = NPOINTS; in php_imagepolygon() 2601 if (npoints < 3) { in php_imagepolygon() 2606 if (nelem < npoints * 2) { in php_imagepolygon() 2607 zend_value_error("Trying to use %d points in array with only %d points", npoints, nelem/2); in php_imagepolygon() 2611 points = (gdPointPtr) safe_emalloc(npoints, sizeof(gdPoint), 0); in php_imagepolygon() 2613 for (i = 0; i < npoints; i++) { in php_imagepolygon() 2628 gdImageOpenPolygon(im, points, npoints, col); in php_imagepolygon() 2631 gdImagePolygon(im, points, npoints, col); in php_imagepolygon() 2634 gdImageFilledPolygon(im, points, npoints, col); in php_imagepolygon()
|
Completed in 15 milliseconds