Allegro 5 api
#include <allegro5/allegro.h> ALLEGRO_BITMAP *al_get_parent_bitmap(ALLEGRO_BITMAP *bitmap)
Returns the bitmap this bitmap is a sub-bitmap of. Returns NULL if this bitmap is not a sub-bitmap.
5.0.6, 5.1.2
al_create_sub_bitmap(3alleg5), al_is_sub_bitmap(3alleg5)