Hello friends I am working on a project and I have a problem. See Images below
This purple rectangle is my main region which I want to rotate and transform. I have rotated this using Qtransform rotate at 30 degrees and has size(180,173). I have calculated the cords of inner region and pass those to paint event and when I resize outer Rectangle this inner rectangle is drawn using painterpath see image below Now this purple region in img 2 looks like transformed because I have drawn only cords when I reduced the size of outer rectacle.
So my question is, Is there any method to calculate at what angle inner region gets transformed If yes please help me guys.