Hi,

I have an application that applies transformations to QGraphicsPolygonItems.

The working code is:
Qt Code:
  1. QTransform trans;
  2. trans = trans.rotate(formerRotation);
  3. trans = trans.scale(currentXFactor,currentYFactor);
  4. setTransform(trans,false); //Replaces the tranformation
To copy to clipboard, switch view to plain text mode 

However if I first scale and then rotate the result is completely different as rotating and then scaling.

Any idea why?