getpixel(3)

NAME
getpixel

SYNOPSIS
#include <allegro.h>

int getpixel(BITMAP *bmp, int x, int y);

DESCRIPTION
Reads a pixel from point x, y in the bitmap. Returns -1 if the point lies outside the bitmap.

SEE ALSO
putpixel(3), _getpixel(3), ex12bit(3), exalpha(3), exflame(3), exlights(3)