Lines Matching refs:gdAlphaMax
2509 alpha_factor = ((gdAlphaMax - gdTrueColorGetAlpha(p))) * pcontribution; in gdImageCopyResampled()
2551 if (alpha > gdAlphaMax) { in gdImageCopyResampled()
2552 alpha = gdAlphaMax; in gdImageCopyResampled()
2862 gdTrueColorGetAlpha (dst)) / gdAlphaMax) << 24) + in gdAlphaBlendOld()
2864 gdTrueColorGetRed (src) / gdAlphaMax) + in gdAlphaBlendOld()
2866 gdTrueColorGetRed (dst)) / gdAlphaMax) << 16) + in gdAlphaBlendOld()
2868 gdTrueColorGetGreen (src) / gdAlphaMax) + in gdAlphaBlendOld()
2870 gdTrueColorGetGreen (dst)) / gdAlphaMax) << 8) + in gdAlphaBlendOld()
2872 gdTrueColorGetBlue (src) / gdAlphaMax) + in gdAlphaBlendOld()
2874 gdTrueColorGetBlue (dst)) / gdAlphaMax)); in gdAlphaBlendOld()
2900 dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax; in gdAlphaBlend()
2906 alpha = src_alpha * dst_alpha / gdAlphaMax; in gdAlphaBlend()
2942 a1 = gdAlphaMax - gdTrueColorGetAlpha(dst); in gdLayerOverlay()
2943 a2 = gdAlphaMax - gdTrueColorGetAlpha(src); in gdLayerOverlay()
2944 return ( ((gdAlphaMax - a1*a2/gdAlphaMax) << 24) + in gdLayerOverlay()