void al_use_transform(const ALLEGRO_TRANSFORM *trans)
Introduced in 5.0.0

Sets the transformation to be used for the the drawing operations on the target bitmap (each bitmap maintains its own transformation). Every drawing operation after this call will be transformed using this transformation. Call this function with an identity transformation to return to the default behaviour.

This function does nothing if there is no target bitmap.


See also: al_get_current_transform, al_transform_coordinates

Examples: ex_gp2xwiz, ex_prim, ex_threads, ex_transform

Most helpful discussions:

Other recent discussions: