logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_get_pixel - Allegro 5 API

Description

       Get  a  pixel’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.

Name

       al_get_pixel - Allegro 5 API

See Also

ALLEGRO_COLOR(3alleg5), al_put_pixel(3alleg5), al_lock_bitmap(3alleg5)

Allegro reference manual                                                                   al_get_pixel(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              ALLEGRO_COLOR al_get_pixel(ALLEGRO_BITMAP *bitmap, int x, int y)

See Also