.\" Automatically generated by Pandoc 2.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[] .fi .SH DESCRIPTION .PP Compose (combine) two transformations by a matrix multiplication. .IP .nf \f[C] trans\ :=\ trans\ other \f[] .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[] and then applying \f[C]other\f[] and not the other way around. .PP \f[I]Parameters:\f[] .IP \[bu] 2 trans \- Transformation to alter .IP \[bu] 2 other \- Transformation used to transform \f[C]trans\f[] .SH SEE ALSO .PP al_translate_transform(3alleg5), al_rotate_transform(3alleg5), al_scale_transform(3alleg5)