Searched refs:tot_weight (Results 1 – 2 of 2) sorted by relevance
2939 int src_weight, dst_weight, tot_weight; in gdAlphaBlend() local2960 tot_weight = src_weight + dst_weight; in gdAlphaBlend()2968 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight; in gdAlphaBlend()2970 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight; in gdAlphaBlend()2972 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight; in gdAlphaBlend()
644 const int tot_weight = src_weight + dst_weight; in _color_blend() local649 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight; in _color_blend()651 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight; in _color_blend()653 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight; in _color_blend()
Completed in 28 milliseconds