Professional Documents
Culture Documents
Composite Transformation
Composite Transformation
1 0 tx Sx 0 -tx Sx
Sx 0 -tx Sx + tx
0 1 ty 0 Sy -ty Sy = 0 Sy -ty Sy + ty
0 0 1 . 0 0 1
0 0 1
x =6, y = 8, Sx = 2, Sy = 3, tx =2, ty = 2
2 0 -2( 2) + 2 6 10
=
0
0
3
0
-2(3) + 2
1
. 8
1 1
20
Composite Transformation Matrix
General Scaling Direction
Operation :-
1. Rotate (scaling direction align with the coordinate axes)
2. Scale with respect to origin
3. Rotate (scaling direction is returned to original position)
Sx 0 0 1 0 tx cos -sin 0
0 Sy 0 0 1 ty sin cos 0
0 0 1 . 0 0 1 . 0 0 1
Sx 0 0 cos -sin tx
0 Sy 0 sin cos ty
0 0 1 . 0 0 1
Sxcos Sx(-sin) Sx tx
Sy sin Sy cos Sy ty
0 0 1