Hello forum,
I believe almost everyone in the forum have gone through the diagramscene example that comes along with in the Qt Demo.
I have included a new shape - ellipse in the editor, using this at DiagramItem:
Qt Code:
elif self.diagramType == self.Ellipse: self.myPolygon = item.shape().toFillPolygon()To copy to clipboard, switch view to plain text mode
Now, i want to have a new shape with two overlapping ellipses, like the figure below:
2_circle_venn.gif
I tried to use Arc, setStartAngle and setSpanAngle, but i was not successful.
Any hint about it?
Thanks!
Bookmarks