1 Reply Latest reply: May 30, 2014 9:36 AM by dadams07 RSS

    Question to using affinetransform

    Rafal Z


           My program enables rotating and shifting (by mouse movement) of displayed image. I achieve this by using AffineTransform, first I do translating, then rotating. But if I rotate 90 degrees, then vertical mouse-movements result in horizontally movement of image. How to separate the rotation from translation, so vertical mouse-movement results in corresponding shift of image?


      with regards


      Rafal Z