Defines | |
#define | PIXEL_COVERAGE(a) |
Scanline edge-flag algorithm for antialiasing
Copyright (c) 2005-2007 Kiia Kallio
http://mlab.uiah.fi/~kkallio/antialiasing/
This code is distributed under the three-clause BSD license. Read the LICENSE file or visit the URL above for details.
|
Value: (((a) & 1) + (((a) >> 1) & 1) + (((a) >> 2) & 1) + (((a) >> 3) & 1) +\ (((a) >> 4) & 1) + (((a) >> 5) & 1) + (((a) >> 6) & 1) + (((a) >> 7) & 1)) |