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

/PHP_TRUNK/ext/gd/libgd/
H A Dgd.c2479 double alpha_factor, alpha_sum = 0.0, contrib_sum = 0.0; local
2520 alpha_sum += alpha_factor;
2539 if ( alpha_sum != 0.0f) {
2541 alpha_sum /= contrib_sum;
2543 red /= alpha_sum;
2544 green /= alpha_sum;
2545 blue /= alpha_sum;

Completed in 7 milliseconds