_getpixel - Man Page

Faster specific version of getpixel(). Allegro game programming library.

Synopsis

#include <allegro.h>

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.

Return Value

Returns the value of the pixel in the color format you specified.

See Also

getpixel(3)

Referenced By

getpixel(3).

The man pages _getpixel15(3), _getpixel16(3), _getpixel24(3) and _getpixel32(3) are aliases of _getpixel(3).

version 4.4.3 Allegro manual