.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "al_compose_transform" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_compose_transform - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include void al_compose_transform(ALLEGRO_TRANSFORM *trans, const ALLEGRO_TRANSFORM *other) \f[R] .fi .SH DESCRIPTION .PP Compose (combine) two transformations by a matrix multiplication. .IP .nf \f[C] trans := trans other \f[R] .fi .PP Note that the order of matrix multiplications is important. The effect of applying the combined transform will be as if first applying \f[C]trans\f[R] and then applying \f[C]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[C]trans\f[R] .SH SEE ALSO .PP al_translate_transform(3alleg5), al_rotate_transform(3alleg5), al_scale_transform(3alleg5)