DOKK / manpages / debian 11 / allegro5-doc / al_get_current_transform.3alleg5.en
al_get_current_transform(3alleg5) al_get_current_transform(3alleg5)

al_get_current_transform - Allegro 5 API

#include <allegro5/allegro.h>
const ALLEGRO_TRANSFORM *al_get_current_transform(void)
    

Returns the transformation of the current target bitmap, as set by al_use_transform(3alleg5). If there is no target bitmap, this function returns NULL.

Returns: A pointer to the current transformation.

al_get_current_projection_transform(3alleg5)

Allegro reference manual