[Gambas-user] Order of Draw.Scale() and Draw.Translate()
Benoît Minisini
gambas at ...1...
Fri Sep 28 17:57:01 CEST 2012
Le 28/09/2012 17:50, Tobias Boege a écrit :
> Hi Benoit,
>
> Hans faces problems with the Draw class. It seems - I didn't test - that the
> order of Draw.Scale() and Draw.Translate() impacts the result (produces
> error in the wrong order):
Of course: transformation is done by a matrix, two transformations are
combined by a matrix multiplication, and matrix multiplication is not
commutative (A*B != B*A).
--
Benoît Minisini
More information about the User
mailing list