I've drawn a pixmap by QPainter and i want to rotate it relative to a specific point. How can i change its rotation origin?
Printable View
I've drawn a pixmap by QPainter and i want to rotate it relative to a specific point. How can i change its rotation origin?
You translate it to the rotation point, rotate, and translate back to the original point.
See an example here:
http://qt-project.org/doc/qt-4.8/pai...ormations.html