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

/PHP_TRUNK/ext/gd/libgd/
H A Dgd.c2469 double alpha_factor, alpha_sum = 0.0, contrib_sum = 0.0; local
2510 alpha_sum += alpha_factor;
2529 if ( alpha_sum != 0.0f) {
2531 alpha_sum /= contrib_sum;
2533 red /= alpha_sum;
2534 green /= alpha_sum;
2535 blue /= alpha_sum;

Completed in 7 milliseconds