Lines Matching refs:points
588 ZEND_ARG_INFO(0, points) /* ARRAY_INFO(0, points, 0) */
595 ZEND_ARG_INFO(0, points) /* ARRAY_INFO(0, points, 0) */
602 ZEND_ARG_INFO(0, points) /* ARRAY_INFO(0, points, 0) */
3423 /* im, points, num_points, col */
3430 gdPointPtr points;
3446 php_error_docref(NULL, E_WARNING, "You must have at least 3 points in your array");
3450 php_error_docref(NULL, E_WARNING, "You must give a positive number of points");
3454 php_error_docref(NULL, E_WARNING, "Trying to use %d points in array with only %d points", npoints, nelem/2);
3458 points = (gdPointPtr) safe_emalloc(npoints, sizeof(gdPoint), 0);
3462 points[i].x = zval_get_long(var);
3465 points[i].y = zval_get_long(var);
3475 gdImageOpenPolygon(im, points, npoints, col);
3478 gdImagePolygon(im, points, npoints, col);
3481 gdImageFilledPolygon(im, points, npoints, col);
3485 efree(points);