| /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 211 g = g + green;
|
| H A D | gddemo.c | 23 int green; local 55 green = gdImageColorAllocate (im_out, 0, 255, 0); 58 gdImageLine (im_out, 16, 16, 240, 16, green); 59 gdImageLine (im_out, 240, 16, 240, 240, green); 60 gdImageLine (im_out, 240, 240, 16, 240, green); 61 gdImageLine (im_out, 16, 240, 16, 16, green); 76 gdImageFilledPolygon (im_out, points, 3, green);
|
| H A D | gdxpm.c | 26 int red = 0, green = 0, blue = 0; local 49 green = strtol(buf, NULL, 16); 63 green = strtol(buf, NULL, 16); 81 green = strtol(buf, NULL, 16); 82 green /= 64; 104 green = strtol(buf, NULL, 16); 105 green /= 256; 117 colors[i] = gdImageColorResolve(im, red, green, blue);
|
| H A D | gd.h | 179 int green[gdMaxColors]; member in struct:gdImageStruct 733 (im)->green[(c)]) 770 * The red, green, and blue intensities of an image are negated. 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 | 162 im->green[i] = 0; 283 gd = im->green[i] - g; 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)) { 505 im->green[ct] = g; 555 gd = (long) (im->green[c] - g); 580 im->green[op] = g; 629 xlate[p] = gdImageColorClosestAlpha (from, to->red[p], to->green[p], to->blue[p], to->alpha[p]); 638 to->green[i] = from->green[ 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 628 green = (gdTrueColorGetGreen(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)]) 777 g = (int)(m1*im->green[(c1)] + m2*im->green[(c2)] + m3*im->green[(c3)] + m4*im->green[(c4)]); 1220 new_img->transparent = gdTrueColorAlpha(im->red[transparent], im->green[transparen 1277 const char green = (char) gd_fxtoi(gd_mulfx(f_w1, f_g1) + gd_mulfx(f_w2, f_g2) + gd_mulfx(f_w3, f_g3) + gd_mulfx(f_w4, f_g4)); local 1364 const char green = (char) gd_fxtoi(gd_mulfx(f_w1, f_g1) + gd_mulfx(f_w2, f_g2) + gd_mulfx(f_w3, f_g3) + gd_mulfx(f_w4, f_g4)); local 1435 unsigned char red, green, blue, alpha = 0; local 1889 const unsigned char green = (unsigned char) CLAMP(gd_fxtoi(f_green), 0, 255); local 1958 unsigned char red, green, blue, alpha; local [all...] |
| /PHP_TRUNK/ext/gd/ |
| H A D | gd.c | 226 ZEND_ARG_INFO(0, green) 234 ZEND_ARG_INFO(0, green) 242 ZEND_ARG_INFO(0, green) 250 ZEND_ARG_INFO(0, green) 417 ZEND_ARG_INFO(0, green) 435 ZEND_ARG_INFO(0, green) 442 ZEND_ARG_INFO(0, green) 454 ZEND_ARG_INFO(0, green) 461 ZEND_ARG_INFO(0, green) 469 ZEND_ARG_INFO(0, green) 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...] |