mouse + changes

Hi.
I need to be able to rotate,translate,scale
(in 2d) accordind to the disstanse of mouse movement in the window each time.
What is the best way to calculate the angle/translate values/scale values
using this data and the size of the window and of the world ???

Thank you.