Searched refs:tot_weight (Results 1 – 2 of 2) sorted by relevance
2909 int src_weight, dst_weight, tot_weight; in gdAlphaBlend() local2930 tot_weight = src_weight + dst_weight; in gdAlphaBlend()2938 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight; in gdAlphaBlend()2940 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight; in gdAlphaBlend()2942 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight; in gdAlphaBlend()
634 const int tot_weight = src_weight + dst_weight; in _color_blend() local639 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight; in _color_blend()641 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight; in _color_blend()643 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight; in _color_blend()
Completed in 18 milliseconds