Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QGraphicsItem rotation transform

$
0
0
Hi all, How to rotate a QGraphicsRectItem arround its center not arround it local coordinate origin ? in my case : Rect(40, 8) ==> rotation around the point (20,4) I tried by setTransformOrigin() but it doesn’t work !

Viewing all articles
Browse latest Browse all 18427

Trending Articles