al_get_current_transform

const ALLEGRO_TRANSFORM *al_get_current_transform(void)
Introduced in 5.0.0

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

Returns: A pointer to the current transformation.


Most helpful discussions: