How do you get the new height and width of a scaled qgraphicspixmapitem?
How do you get the new height and width of a scaled qgraphicspixmapitem?
Last edited by rogerholmes; 7th March 2010 at 05:23.
mhoover (20th March 2010)
boundingRect() * scaleFactor
mhoover (20th March 2010)
Thanks aamer4yu!
I thought (mistakenly) the x/y/width/height were changed by the scale, but they weren't.
This causes my code to work now.
Bookmarks