Quote Originally Posted by wysota View Post
If you have a simple shape, you can calculate it based on the bounding rectangle yourself.
Qt Code:
  1. shape.addEllipse(boundingRect());
To copy to clipboard, switch view to plain text mode 
but how can yo do that if you don't even know the name of the objects inside the SVG file unless you parse it on your own?

And what iif the object is a path (a pentagon, a star, or whatever?). You can't tell anything from the boundingRect, but the node itself can.