_getpixel.3alleg4
Contents
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.
Name
_getpixel, _getpixel15, _getpixel16, _getpixel24, _getpixel32 - Faster specific version of getpixel().
Allegro game programming library.
Return Value
Returns the value of the pixel in the color format you specified.
See Also
getpixel(3alleg4) Allegro version 4.4.3 _getpixel(3alleg4)
Synopsis
#include<allegro.h>int_getpixel(BITMAP*bmp,intx,inty);int_getpixel15(BITMAP*bmp,intx,inty);int_getpixel16(BITMAP*bmp,intx,inty);int_getpixel24(BITMAP*bmp,intx,inty);int_getpixel32(BITMAP*bmp,intx,inty);
