MatrixTransform matrix looks transposed to me

It is rather a question of curiosity, why MatrixTransform is the way it is, and not a real problem.

MSDN gives the MatrixTransform affinity transformation matrix as follows:

     m11  m12  0
A := m21  m22  0
     offX offY 1

http://msdn.microsoft.com/en-us/library/system.windows.media.matrixtransform(v=VS.100).aspx

To convert a point, you use it as follows: x' = xTA. This is different from what I would expect - x' = Axwhich uses this matrix:

     m11  m12  offX
A := m21  m22  offY
       0    0     1

I understand that this makes no difference to the implementation of MatrixTransform, but I wonder if there is a lack of insight here. Does anyone know why the transformation matrix is ​​given as it is?

+3
1

, row-major . .

+1

Source: https://habr.com/ru/post/1774768/


All Articles