Lines Matching refs:col

846 	zend_long cx, cy, w, h, ST, E, col, style;  in PHP_FUNCTION()  local
850 …END_NUM_ARGS(), "Ollllllll", &IM, gd_image_ce, &cx, &cy, &w, &h, &ST, &E, &col, &style) == FAILURE… in PHP_FUNCTION()
866 gdImageFilledArc(im, cx, cy, w, h, st, e, col, style); in PHP_FUNCTION()
2137 int col; in PHP_FUNCTION() local
2151 col = index; in PHP_FUNCTION()
2153 if (col >= 0 && col < gdImageColorsTotal(im)) { in PHP_FUNCTION()
2154 gdImageColorDeallocate(im, col); in PHP_FUNCTION()
2210 int col; in PHP_FUNCTION() local
2223 col = color; in PHP_FUNCTION()
2225 if (col >= 0 && col < gdImageColorsTotal(im)) { in PHP_FUNCTION()
2226 im->red[col] = red; in PHP_FUNCTION()
2227 im->green[col] = green; in PHP_FUNCTION()
2228 im->blue[col] = blue; in PHP_FUNCTION()
2229 im->alpha[col] = alpha; in PHP_FUNCTION()
2241 int col; in PHP_FUNCTION() local
2250 col = index; in PHP_FUNCTION()
2252 …if ((col >= 0 && gdImageTrueColor(im)) || (!gdImageTrueColor(im) && col >= 0 && col < gdImageColor… in PHP_FUNCTION()
2255 add_assoc_long(return_value,"red", gdImageRed(im,col)); in PHP_FUNCTION()
2256 add_assoc_long(return_value,"green", gdImageGreen(im,col)); in PHP_FUNCTION()
2257 add_assoc_long(return_value,"blue", gdImageBlue(im,col)); in PHP_FUNCTION()
2258 add_assoc_long(return_value,"alpha", gdImageAlpha(im,col)); in PHP_FUNCTION()
2325 zend_long x, y, col; in PHP_FUNCTION() local
2332 Z_PARAM_LONG(col) in PHP_FUNCTION()
2337 gdImageSetPixel(im, x, y, col); in PHP_FUNCTION()
2346 zend_long x1, y1, x2, y2, col; in PHP_FUNCTION() local
2349 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Olllll", &IM, gd_image_ce, &x1, &y1, &x2, &y2, &col) … in PHP_FUNCTION()
2356 gdImageSetAntiAliased(im, col); in PHP_FUNCTION()
2357 col = gdAntiAliased; in PHP_FUNCTION()
2359 gdImageLine(im, x1, y1, x2, y2, col); in PHP_FUNCTION()
2368 zend_long x1, y1, x2, y2, col; in PHP_FUNCTION() local
2371 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Olllll", &IM, gd_image_ce, &x1, &y1, &x2, &y2, &col) =… in PHP_FUNCTION()
2377 gdImageDashedLine(im, x1, y1, x2, y2, col); in PHP_FUNCTION()
2386 zend_long x1, y1, x2, y2, col; in PHP_FUNCTION() local
2389 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Olllll", &IM, gd_image_ce, &x1, &y1, &x2, &y2, &col) =… in PHP_FUNCTION()
2395 gdImageRectangle(im, x1, y1, x2, y2, col); in PHP_FUNCTION()
2404 zend_long x1, y1, x2, y2, col; in PHP_FUNCTION() local
2407 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Olllll", &IM, gd_image_ce, &x1, &y1, &x2, &y2, &col) =… in PHP_FUNCTION()
2412 gdImageFilledRectangle(im, x1, y1, x2, y2, col); in PHP_FUNCTION()
2421 zend_long cx, cy, w, h, ST, E, col; in PHP_FUNCTION() local
2425 …eters(ZEND_NUM_ARGS(), "Olllllll", &IM, gd_image_ce, &cx, &cy, &w, &h, &ST, &E, &col) == FAILURE) { in PHP_FUNCTION()
2441 gdImageArc(im, cx, cy, w, h, st, e, col); in PHP_FUNCTION()
2468 zend_long x, y, border, col; in PHP_FUNCTION() local
2471 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Ollll", &IM, gd_image_ce, &x, &y, &border, &col) == F… in PHP_FUNCTION()
2477 gdImageFillToBorder(im, x, y, border, col); in PHP_FUNCTION()
2486 zend_long x, y, col; in PHP_FUNCTION() local
2489 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Olll", &IM, gd_image_ce, &x, &y, &col) == FAILURE) { in PHP_FUNCTION()
2495 gdImageFill(im, x, y, col); in PHP_FUNCTION()
2573 int npoints, col, nelem, i; in php_imagepolygon() local
2593 col = COL; in php_imagepolygon()
2618 gdImageSetAntiAliased(im, col); in php_imagepolygon()
2619 col = gdAntiAliased; 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()
2750 int ch = 0, col, x, y, i, l = 0; in php_imagechar() local
2766 col = COL; in php_imagechar()
2782 gdImageChar(im, font, x, y, ch, col); in php_imagechar()
2785 php_gdimagecharup(im, font, x, y, ch, col); in php_imagechar()
2789 gdImageChar(im, font, x, y, (int) ((unsigned char) str[i]), col); in php_imagechar()
2796 gdImageCharUp(im, font, x, y, (int) str[i], col); in php_imagechar()
3065 zend_long col = -1, x = 0, y = 0; in php_imagettftext_common() local
3078 …ZEND_NUM_ARGS(), "Oddlllss|a", &IM, gd_image_ce, &ptsize, &angle, &x, &y, &col, &fontname, &fontna… in php_imagettftext_common()
3118 error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex); in php_imagettftext_common()
3120 error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str); in php_imagettftext_common()