1al_get_pixel(3) Library Functions Manual al_get_pixel(3)
23
4
NAME
6al_get_pixel
7
SYNOPSIS
9#include <allegro5/allegro.h>
1011
ALLEGRO_COLOR al_get_pixel(ALLEGRO_BITMAP *bitmap, int x, int y)
12
DESCRIPTION
14Get a pixel's color value from the specified bitmap. This operation is
15slow on non-memory bitmaps. Consider locking the bitmap if you are
16going to use this function multiple times on the same bitmap.
17
SEE ALSO
19ALLEGRO_COLOR(3), al_put_pixel(3)
2021
22
23
Allegro reference manual al_get_pixel(3)