.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .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[V]trans\f[R] and then applying \f[V]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[V]trans\f[R] .SH SEE ALSO .PP al_translate_transform(3alleg5), al_rotate_transform(3alleg5), al_scale_transform(3alleg5)