[Qt-interest] Rotation of a graphicsItem
Shashank Singh
shashank.personal at gmail.com
Tue Jun 30 19:47:46 CEST 2009
hi
"Shashank please tell how would I treat for translation and scaling of a
graphicsitem about scene coordinate."
IIRC the usual mathematical way of moving the origin of scene to items
center then doing transformation and then moving it back to it's original
place works :)
we used it when we were developing our app which required transformation on
item on with respect to it's center
--
Regards:
Shashank Singh
Associate - Software | New Technologies team
Geodesic Limited | <http://www.geodesic.com>
Tel: +91 22 2831 2872
Blog:http://techfreaks4u.com/blog
Marble contributor : http://edu.kde.org/marble/
KDE-in Volunteer : http://www.kde.in/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090630/e54f6b27/attachment.html
More information about the Qt-interest-old
mailing list