Searched defs:p_alpha (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd.c937 float p_dist, p_alpha; local
981 p_alpha = pow (1.0 - (p_dist / 1.5), 2);
983 if (p_alpha > 0) {
984 if (p_alpha >= 1) {
987 opacity = (unsigned char) (p_alpha * 255.0);
1012 float p_alpha, old_alpha; local
1030 p_alpha = (float) (im->AA_opacity[py][px]) / 255.0;
1031 old_alpha = 1.0 - p_alpha;
1033 if (p_alpha >= 1.0) {
1040 p_red = (int) (((float) color_red * p_alpha)
[all...]

Completed in 8 milliseconds