Home
last modified time | relevance | path

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

/PHP-5.4/ext/gd/libgd/
H A Dgd.c933 float p_dist, p_alpha; in gdImageAntiAliasedApply() local
977 p_alpha = pow (1.0 - (p_dist / 1.5), 2); in gdImageAntiAliasedApply()
979 if (p_alpha > 0) { in gdImageAntiAliasedApply()
980 if (p_alpha >= 1) { in gdImageAntiAliasedApply()
983 opacity = (unsigned char) (p_alpha * 255.0); in gdImageAntiAliasedApply()
1008 float p_alpha, old_alpha; in gdImageAABlend() local
1026 p_alpha = (float) (im->AA_opacity[py][px]) / 255.0; in gdImageAABlend()
1027 old_alpha = 1.0 - p_alpha; in gdImageAABlend()
1029 if (p_alpha >= 1.0) { in gdImageAABlend()
1036 p_red = (int) (((float) color_red * p_alpha) + ((float) old_red * old_alpha)); in gdImageAABlend()
[all …]

Completed in 14 milliseconds