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

/PHP_TRUNK/ext/gd/libgd/
H A Dgd.c935 float p_dist, p_alpha; local
979 p_alpha = pow (1.0 - (p_dist / 1.5), 2);
981 if (p_alpha > 0) {
982 if (p_alpha >= 1) {
985 opacity = (unsigned char) (p_alpha * 255.0);
1010 float p_alpha, old_alpha; local
1028 p_alpha = (float) (im->AA_opacity[py][px]) / 255.0;
1029 old_alpha = 1.0 - p_alpha;
1031 if (p_alpha >= 1.0) {
1038 p_red = (int) (((float) color_red * p_alpha)
[all...]

Completed in 7 milliseconds