Searched refs:dst_alpha (Results 1 – 2 of 2) sorted by relevance
2938 int dst_alpha, alpha, red, green, blue; in gdAlphaBlend() local2947 dst_alpha = gdTrueColorGetAlpha(dst); in gdAlphaBlend()2950 if( dst_alpha == gdAlphaTransparent ) in gdAlphaBlend()2959 dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax; in gdAlphaBlend()2965 alpha = src_alpha * dst_alpha / gdAlphaMax; in gdAlphaBlend()
635 const int dst_alpha = gdTrueColorGetAlpha(dst); in _color_blend() local638 if( dst_alpha == gdAlphaTransparent ) { in _color_blend()643 const int dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax; in _color_blend()646 alpha = src_alpha * dst_alpha / gdAlphaMax; in _color_blend()
Completed in 18 milliseconds