Scaling a point (x,y) by a factor in the x-direction and in the y-direction is achieved by:
Note that this is scaling relative to the origin.
From Colin Flanagan -- see details 26.11.1996