Searched refs:src_weight (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_interpolation.c620 const int src_weight = gdAlphaTransparent - src_alpha; local
622 const int tot_weight = src_weight + dst_weight;
626 red = (gdTrueColorGetRed(src) * src_weight
628 green = (gdTrueColorGetGreen(src) * src_weight
630 blue = (gdTrueColorGetBlue(src) * src_weight
H A Dgd.c2876 int src_weight, dst_weight, tot_weight; local
2895 src_weight = gdAlphaTransparent - src_alpha;
2897 tot_weight = src_weight + dst_weight;
2904 red = (gdTrueColorGetRed(src) * src_weight
2906 green = (gdTrueColorGetGreen(src) * src_weight
2908 blue = (gdTrueColorGetBlue(src) * src_weight

Completed in 12 milliseconds