void al_compose_transform(ALLEGRO_TRANSFORM *trans, const ALLEGRO_TRANSFORM *other)
Introduced in 5.0.0

Compose (combine) two transformations by a matrix multiplication.

trans := trans other

Note that the order of matrix multiplications is important. The effect of applying the combined transform will be as if first applying trans and then applying other and not the other way around.


Most helpful discussions: