Lines Matching refs:frac
1239 long x, y, inc, frac; in gdImageAALine() local
1272 frac = 0; in gdImageAALine()
1274 gdImageSetAAPixelColor(im, x, y, col, (frac >> 8) & 0xFF); in gdImageAALine()
1276 gdImageSetAAPixelColor(im, x, y + 1, col, (~frac >> 8) & 0xFF); in gdImageAALine()
1278 frac += inc; in gdImageAALine()
1279 if (frac >= 65536) { in gdImageAALine()
1280 frac -= 65536; in gdImageAALine()
1282 } else if (frac < 0) { in gdImageAALine()
1283 frac += 65536; in gdImageAALine()
1300 frac = 0; in gdImageAALine()
1302 gdImageSetAAPixelColor(im, x, y, col, (frac >> 8) & 0xFF); in gdImageAALine()
1304 gdImageSetAAPixelColor(im, x + 1, y, col, (~frac >> 8) & 0xFF); in gdImageAALine()
1306 frac += inc; in gdImageAALine()
1307 if (frac >= 65536) { in gdImageAALine()
1308 frac -= 65536; in gdImageAALine()
1310 } else if (frac < 0) { in gdImageAALine()
1311 frac += 65536; in gdImageAALine()