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

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_interpolation.c613 const int dst_alpha = gdTrueColorGetAlpha(dst); local
616 if( dst_alpha == gdAlphaTransparent ) {
621 const int dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax;
624 alpha = src_alpha * dst_alpha / gdAlphaMax;
H A Dgd.c2885 int dst_alpha, alpha, red, green, blue; local
2894 dst_alpha = gdTrueColorGetAlpha(dst);
2897 if( dst_alpha == gdAlphaTransparent )
2906 dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax;
2912 alpha = src_alpha * dst_alpha / gdAlphaMax;

Completed in 12 milliseconds