Lines Matching refs:color

214 	ZEND_ARG_INFO(0, color)
516 ZEND_ARG_INFO(0, color)
594 ZEND_ARG_INFO(0, color)
1437 /* if ((color=gdImageColorExact(im,R,G,B)) < 0) */
1438 /* if ((color=gdImageColorAllocate(im,R,G,B)) < 0) */
1439 /* color=gdImageColorClosest(im,R,G,B); */
1462 return c; /* Return exact match color */
1472 return ct; /* Return closest available color */
1480 return op; /* Return newly allocated color */
1639 Create a new true color image */
1707 Makes the colors of the palette version of an image more closely match the true color version */
1736 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Image2 must have at least one color" );
1765 /* {{{ proto bool imagefilledellipse(resource im, int cx, int cy, int w, int h, int color)
1770 long cx, cy, w, h, color;
1773 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlllll", &IM, &cx, &cy, &w, &h, &color) == FAILURE) {
1779 gdImageFilledEllipse(im, cx, cy, w, h, color);
1876 Allocate a color with an alpha level. Works for true color and palette based images */
2139 long color;
2142 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rdl|l", &SIM, &degrees, &color, &ignoretransparent) == FAILURE) {
2148 im_dst = gdImageRotate(im_src, degrees, color, ignoretransparent);
2160 Set the tile image to $tile when filling $image with the "IMG_COLOR_TILED" color */
2182 Set the brush image to $brush when filling $image with the "IMG_COLOR_BRUSHED" color */
2682 /* When called from imagewbmp() the quality parameter stands for the foreground color. Default: black. */
2929 Allocate a color for an image */
2972 Get the index of the color of a pixel */
3004 Get the index of the closest color to the specified color */
3023 Get the index of the color which has the hue, white and blackness nearest to the given color */
3042 De-allocate a color for an image */
3074 Get the index of the specified color or its closest possible alternative */
3092 Get the index of the specified color */
3110 Set the color for the specified palette index */
3114 long color, red, green, blue, alpha = 0;
3118 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rllll|l", &IM, &color, &red, &green, &blue, &alpha) == FAILURE) {
3124 col = color;
3339 /* {{{ proto bool imageellipse(resource im, int cx, int cy, int w, int h, int color)
3344 long cx, cy, w, h, color;
3347 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlllll", &IM, &cx, &cy, &w, &h, &color) == FAILURE) {
3353 gdImageEllipse(im, cx, cy, w, h, color);
3359 Flood fill to specific color */
3412 Define a color as transparent */
3610 static void php_gdimagecharup(gdImagePtr im, gdFontPtr f, int x, int y, int c, int color)
3624 gdImageSetPixel(im, px, py, color);
4292 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Foreground color index %ld out of range", _fg);
4297 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Background color index %ld out of range", _bg);
4532 int color, color_org, median;
4565 color = black;
4567 color = white;
4569 gdImageSetPixel (im_dest, x, y, color);
4596 int color, color_org, median;
4747 color = black;
4749 color = white;
4751 gdImageSetPixel (im_dest, x, y, color);