Home
last modified time | relevance | path

Searched refs:dst_alpha (Results 1 – 2 of 2) sorted by relevance

/PHP-7.0/ext/gd/libgd/
H A Dgd.c2917 int dst_alpha, alpha, red, green, blue; in gdAlphaBlend() local
2926 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()
H A Dgd_interpolation.c623 const int dst_alpha = gdTrueColorGetAlpha(dst); in _color_blend() local
626 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