1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
.TH al_get_pixel 3 "" "Allegro reference manual"
.SH NAME
.PP
al_get_pixel \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro.h>
ALLEGRO_COLOR\ al_get_pixel(ALLEGRO_BITMAP\ *bitmap,\ int\ x,\ int\ y)
\f[]
.fi
.SH DESCRIPTION
.PP
Get a pixel\[aq]s color value from the specified bitmap.
This operation is slow on non\-memory bitmaps.
Consider locking the bitmap if you are going to use this function
multiple times on the same bitmap.
.SH SEE ALSO
.PP
ALLEGRO_COLOR(3), al_put_pixel(3), al_lock_bitmap(3)
|