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

/PHP_TRUNK/ext/gd/libgd/
H A Dgd.c2484 double yportion; local
2486 yportion = 1.0f - (sy - floor_cast(sy));
2487 if (yportion > sy2 - sy1) {
2488 yportion = sy2 - sy1;
2492 yportion = sy2 - floor_cast(sy2);
2494 yportion = 1.0f;
2512 pcontribution = xportion * yportion;
2522 spixels += xportion * yportion;

Completed in 7 milliseconds