| /PHP_TRUNK/ext/gd/libgd/ |
| H A D | gd_filter.c | 187 int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha) argument 212 b = b + blue;
|
| H A D | gddemo.c | 21 int blue; local 56 blue = gdImageColorAllocate (im_out, 0, 0, 255); 63 gdImageArc (im_out, 128, 128, 60, 20, 0, 720, blue); 65 gdImageArc (im_out, 128, 128, 40, 40, 90, 270, blue); 68 gdImageFill (im_out, 8, 8, blue);
|
| H A D | gdxpm.c | 26 int red = 0, green = 0, blue = 0; local 52 blue = strtol(buf, NULL, 16); 67 blue = strtol(buf, NULL, 16); 87 blue = strtol(buf, NULL, 16); 88 blue /= 64; 111 blue = strtol(buf, NULL, 16); 112 blue /= 256; 117 colors[i] = gdImageColorResolve(im, red, green, blue);
|
| H A D | gd.h | 180 int blue[gdMaxColors]; member in struct:gdImageStruct 735 (im)->blue[(c)]) 770 * The red, green, and blue intensities of an image are negated. 771 * White becomes black, yellow becomes blue, etc. 784 /* Simply adds or substracts respectively red, green or blue to a pixel */ 785 int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha);
|
| H A D | gd.c | 163 im->blue[i] = 0; 284 bd = im->blue[i] - b; 447 dist = HWB_Diff(im->red[i], im->green[i], im->blue[i], r, g, b); 472 if ((im->red[i] == r) && (im->green[i] == g) && (im->blue[i] == b) && (im->alpha[i] == a)) { 506 im->blue[ct] = b; 556 bd = (long) (im->blue[c] - b); 581 im->blue[op] = b; 629 xlate[p] = gdImageColorClosestAlpha (from, to->red[p], to->green[p], to->blue[p], to->alpha[p]); 637 to->blue[i] = from->blue[ 2470 double red = 0.0, green = 0.0, blue = 0.0, alpha = 0.0; local 2877 int dst_alpha, alpha, red, green, blue; local [all...] |
| H A D | gd_interpolation.c | 619 register int alpha, red, green, blue; local 630 blue = (gdTrueColorGetBlue(src) * src_weight 633 return ((alpha << 24) + (red << 16) + (green << 8) + blue); 695 #define colorIndex2RGBA(c) gdTrueColorAlpha(im->red[(c)], im->green[(c)], im->blue[(c)], im->alpha[(c)]) 696 #define colorIndex2RGBcustomA(c, a) gdTrueColorAlpha(im->red[(c)], im->green[(c)], im->blue[(c)], im->alpha[(a)]) 778 b = (int)(m1*im->blue[(c1)] + m2*im->blue[(c2)] + m3*im->blue[(c3)] + m4*im->blue[(c4)]); 1220 new_img->transparent = gdTrueColorAlpha(im->red[transparent], im->green[transparent], im->blue[transparen 1278 const char blue = (char) gd_fxtoi(gd_mulfx(f_w1, f_b1) + gd_mulfx(f_w2, f_b2) + gd_mulfx(f_w3, f_b3) + gd_mulfx(f_w4, f_b4)); local 1365 const char blue = (char) gd_fxtoi(gd_mulfx(f_w1, f_b1) + gd_mulfx(f_w2, f_b2) + gd_mulfx(f_w3, f_b3) + gd_mulfx(f_w4, f_b4)); local 1435 unsigned char red, green, blue, alpha = 0; local 1890 const unsigned char blue = (unsigned char) CLAMP(gd_fxtoi(f_blue), 0, 255); local 1958 unsigned char red, green, blue, alpha; local [all...] |
| /PHP_TRUNK/ext/gd/ |
| H A D | gd.c | 227 ZEND_ARG_INFO(0, blue) 235 ZEND_ARG_INFO(0, blue) 243 ZEND_ARG_INFO(0, blue) 251 ZEND_ARG_INFO(0, blue) 418 ZEND_ARG_INFO(0, blue) 436 ZEND_ARG_INFO(0, blue) 443 ZEND_ARG_INFO(0, blue) 455 ZEND_ARG_INFO(0, blue) 462 ZEND_ARG_INFO(0, blue) 470 ZEND_ARG_INFO(0, blue) 1825 long red, green, blue, alpha; local 1847 long red, green, blue, alpha; local 1865 long red, green, blue, alpha; local 1883 long red, green, blue, alpha; local 2815 long red, green, blue; local 2888 long red, green, blue; local 2906 long red, green, blue; local 2956 long red, green, blue; local 2974 long red, green, blue; local 2992 long color, red, green, blue, alpha = 0; local [all...] |