Searched refs:src_weight (Results 1 – 2 of 2) sorted by relevance
643 const int src_weight = gdAlphaTransparent - src_alpha; in _color_blend() local645 const int tot_weight = src_weight + dst_weight; in _color_blend()649 red = (gdTrueColorGetRed(src) * src_weight in _color_blend()651 green = (gdTrueColorGetGreen(src) * src_weight in _color_blend()653 blue = (gdTrueColorGetBlue(src) * src_weight in _color_blend()
2939 int src_weight, dst_weight, tot_weight; in gdAlphaBlend() local2958 src_weight = gdAlphaTransparent - src_alpha; in gdAlphaBlend()2960 tot_weight = src_weight + dst_weight; in gdAlphaBlend()2967 red = (gdTrueColorGetRed(src) * src_weight in gdAlphaBlend()2969 green = (gdTrueColorGetGreen(src) * src_weight in gdAlphaBlend()2971 blue = (gdTrueColorGetBlue(src) * src_weight in gdAlphaBlend()
Completed in 20 milliseconds