Are these polygons actually circles or ellipses? You could use QPainterPath to create the ellipse, then use QPainterPath::toFillPolygon() to extract the QPolygonF from it.
Of course, QPolygonF is 2D only...
Are these polygons actually circles or ellipses? You could use QPainterPath to create the ellipse, then use QPainterPath::toFillPolygon() to extract the QPolygonF from it.
Of course, QPolygonF is 2D only...
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Bookmarks