.\" Automatically generated by Pandoc 3.1.12.1 .\" .TH "al_get_pixel" "3" "" "Allegro reference manual" "" .SH NAME al_get_pixel \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] ALLEGRO_COLOR al_get_pixel(ALLEGRO_BITMAP *bitmap, int x, int y) .EE .SH DESCRIPTION Get a pixel\[cq]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 ALLEGRO_COLOR(3), al_put_pixel(3), al_lock_bitmap(3)