Searched refs:npoints (Results 1 – 1 of 1) sorted by relevance
/PHP-8.2/ext/gd/ |
H A D | gd.c | 2573 int npoints, col, nelem, i; in php_imagepolygon() local 2592 npoints = NPOINTS; in php_imagepolygon() 2596 if (npoints < 3) { in php_imagepolygon() 2601 if (nelem < npoints * 2) { in php_imagepolygon() 2602 zend_value_error("Trying to use %d points in array with only %d points", npoints, nelem/2); in php_imagepolygon() 2606 points = (gdPointPtr) safe_emalloc(npoints, sizeof(gdPoint), 0); in php_imagepolygon() 2608 for (i = 0; i < npoints; i++) { in php_imagepolygon() 2623 gdImageOpenPolygon(im, points, npoints, col); in php_imagepolygon() 2626 gdImagePolygon(im, points, npoints, col); in php_imagepolygon() 2629 gdImageFilledPolygon(im, points, npoints, col); in php_imagepolygon()
|
Completed in 13 milliseconds