Searched refs:tot_weight (Results 1 – 2 of 2) sorted by relevance
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()
2993 int src_weight, dst_weight, tot_weight; in gdAlphaBlend() local3014 tot_weight = src_weight + dst_weight; in gdAlphaBlend()3022 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight; in gdAlphaBlend()3024 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight; in gdAlphaBlend()3026 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight; in gdAlphaBlend()
Completed in 23 milliseconds