Searched refs:tot_weight (Results 1 – 2 of 2) sorted by relevance
2942 int src_weight, dst_weight, tot_weight; in gdAlphaBlend() local2963 tot_weight = src_weight + dst_weight; in gdAlphaBlend()2971 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight; in gdAlphaBlend()2973 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight; in gdAlphaBlend()2975 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight; in gdAlphaBlend()
632 const int tot_weight = src_weight + dst_weight; in _color_blend() local637 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight; in _color_blend()639 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight; in _color_blend()641 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight; in _color_blend()
Completed in 29 milliseconds