int _getpixel(BITMAP *bmp, int x, int y); int _getpixel15(BITMAP *bmp, int x, int y); int _getpixel16(BITMAP *bmp, int x, int y); int _getpixel24(BITMAP *bmp, int x, int y); int _getpixel32(BITMAP *bmp, int x, int y);
DESCRIPTION
Faster inline versions of getpixel() for specific color depths. These
won't work in mode-X, and don't do any clipping, so you must make sure
the point lies inside the bitmap.