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

/PHP_TRUNK/ext/gd/libgd/
H A Dgd.c2878 int src_weight, dst_weight, tot_weight; local
2898 dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax;
2899 tot_weight = src_weight + dst_weight;
2907 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight;
2909 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight;
2911 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight;
H A Dgd_interpolation.c621 const int dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax; local
622 const int tot_weight = src_weight + dst_weight;
627 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight;
629 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight;
631 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight;

Completed in 12 milliseconds