|
 |
 |
 |
 |
 |
 |
The
previous scaling transformation leaves the origin
|
|
|
|
unaltered. If the point (xf,yf)
is to be the fixed point, the
|
|
transformation is:
|
|
|
|
x' = xf + (x - xf) Sx
|
|
|
y' = yf + (y - yf) Sy
|
|
|
This can be rearranged to give:
|
|
|
|
x' = x Sx +
(1 - Sx) xf
|
|
|
y' = y Sy +
(1 - Sy) yf
|
|
|
|