DOKK / manpages / debian 10 / allegro5-doc / al_get_bitmap_x.3alleg5.en
al_get_bitmap_x(3alleg5) al_get_bitmap_x(3alleg5)

al_get_bitmap_x - Allegro 5 API

#include <allegro5/allegro.h>
int al_get_bitmap_x(ALLEGRO_BITMAP *bitmap)
    

For a sub-bitmap, return it's x position within the parent.

al_create_sub_bitmap(3alleg5), al_get_parent_bitmap(3alleg5), al_get_bitmap_y(3alleg5)

5.1.12

Allegro reference manual