Searched refs:dst_weight (Results 1 – 2 of 2) sorted by relevance
2917 int src_weight, dst_weight, tot_weight; in gdAlphaBlend() local2937 dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax; in gdAlphaBlend()2938 tot_weight = src_weight + dst_weight; in gdAlphaBlend()2946 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight; in gdAlphaBlend()2948 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight; in gdAlphaBlend()2950 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight; in gdAlphaBlend()
631 const int dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax; in _color_blend() local632 const int tot_weight = src_weight + dst_weight; in _color_blend()637 + 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 20 milliseconds