blooglet
24th February 2011, 10:12
I'm trying to export the contents of my QGraphicsScene to PNG. For some reason (http://www.qtcentre.org/threads/4368-QGraphicsScene-evolution-of-sceneRect) I have to maintain the scene's bounding rectangle myself.
Here's a sample export that should contain a purple ellipse and an orange rectangle on a transparent background:
http://i.imgur.com/WHOYL.png (http://imgur.com/WHOYL)
Why is the exported image messed up like that? Are there any common symptoms that I should look for in my code?
Here's a sample export that should contain a purple ellipse and an orange rectangle on a transparent background:
http://i.imgur.com/WHOYL.png (http://imgur.com/WHOYL)
Why is the exported image messed up like that? Are there any common symptoms that I should look for in my code?