Searched refs:tot_weight (Results 1 – 2 of 2) sorted by relevance
2920 int src_weight, dst_weight, tot_weight; in gdAlphaBlend() local2941 tot_weight = src_weight + dst_weight; in gdAlphaBlend()2949 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight; in gdAlphaBlend()2951 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight; in gdAlphaBlend()2953 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight; in gdAlphaBlend()
622 const int tot_weight = src_weight + dst_weight; in _color_blend() local627 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight; in _color_blend()629 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight; in _color_blend()631 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight; in _color_blend()
Completed in 27 milliseconds