.\" Automatically generated by Pandoc 3.6.1 .\" .TH "al_compose_transform" "3" "" "Allegro reference manual" .SH NAME al_compose_transform \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] void al_compose_transform(ALLEGRO_TRANSFORM *trans, const ALLEGRO_TRANSFORM *other) .EE .SH DESCRIPTION Compose (combine) two transformations by a matrix multiplication. .IP .EX trans := trans other .EE .PP Note that the order of matrix multiplications is important. The effect of applying the combined transform will be as if first applying \f[CR]trans\f[R] and then applying \f[CR]other\f[R] and not the other way around. .PP \f[I]Parameters:\f[R] .IP \[bu] 2 trans \- Transformation to alter .IP \[bu] 2 other \- Transformation used to transform \f[CR]trans\f[R] .SH SEE ALSO al_translate_transform(3), al_rotate_transform(3), al_scale_transform(3)