Searched refs:tot_weight (Results 1 – 2 of 2) sorted by relevance
2918 int src_weight, dst_weight, tot_weight; in gdAlphaBlend() local2939 tot_weight = src_weight + dst_weight; in gdAlphaBlend()2947 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight; in gdAlphaBlend()2949 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight; in gdAlphaBlend()2951 + 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 18 milliseconds