Searched refs:dst_alpha (Results 1 – 2 of 2) sorted by relevance
2917 int dst_alpha, alpha, red, green, blue; in gdAlphaBlend() local2926 dst_alpha = gdTrueColorGetAlpha(dst); in gdAlphaBlend()2929 if( dst_alpha == gdAlphaTransparent ) in gdAlphaBlend()2938 dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax; in gdAlphaBlend()2944 alpha = src_alpha * dst_alpha / gdAlphaMax; in gdAlphaBlend()
623 const int dst_alpha = gdTrueColorGetAlpha(dst); in _color_blend() local626 if( dst_alpha == gdAlphaTransparent ) { in _color_blend()631 const int dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax; in _color_blend()634 alpha = src_alpha * dst_alpha / gdAlphaMax; in _color_blend()
Completed in 21 milliseconds