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

/PHP_TRUNK/ext/gd/libgd/
H A Dgd.c2471 double alpha_factor, alpha_sum = 0.0, contrib_sum = 0.0; local
2507 alpha_factor = ((gdAlphaMax - gdTrueColorGetAlpha(p))) * pcontribution;
2508 red += gdTrueColorGetRed (p) * alpha_factor;
2509 green += gdTrueColorGetGreen (p) * alpha_factor;
2510 blue += gdTrueColorGetBlue (p) * alpha_factor;
2512 alpha_sum += alpha_factor;

Completed in 6 milliseconds