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

/PHP_TRUNK/ext/gd/libgd/
H A Dgd.c2877 int dst_alpha, alpha, red, green, blue; local
2886 dst_alpha = gdTrueColorGetAlpha(dst);
2889 if( dst_alpha == gdAlphaTransparent )
2898 dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax;
2904 alpha = src_alpha * dst_alpha / gdAlphaMax;
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;

Completed in 12 milliseconds