sajis997
19th January 2012, 15:28
Hello forum,
Please Check the following code:
QPolygonF myPolygon;
QGraphicsEllipseItem item(-100,-50,200,100);
myPolygon = item.shape().toFillPolygon();
QPolygonF is nothing but a vector of QPointF.
In that case can i visualize myPolygon as a dotted ellipse ?
Regards
Sajjad
Please Check the following code:
QPolygonF myPolygon;
QGraphicsEllipseItem item(-100,-50,200,100);
myPolygon = item.shape().toFillPolygon();
QPolygonF is nothing but a vector of QPointF.
In that case can i visualize myPolygon as a dotted ellipse ?
Regards
Sajjad