Home
last modified time | relevance | path

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

/PHP-8.2/ext/gd/libgd/
H A Dgd.c2938 int dst_alpha, alpha, red, green, blue; in gdAlphaBlend() local
2947 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()
H A Dgd_interpolation.c635 const int dst_alpha = gdTrueColorGetAlpha(dst); in _color_blend() local
638 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