PDA

View Full Version : Center point and drawArc



seniorc
24th March 2014, 22:09
Hello,

I must draw full circle and i have Center points and radius.For example;

C(x,y) and r.

I looked QPainter and drawArc() but i didn't understand.

How can i draw simple circle with center point and radius information.Please give me easy example.

Thanks.

stampede
24th March 2014, 22:19
QPainter::drawEllipse (http://qt-project.org/doc/qt-4.8/qpainter.html#drawEllipse-4)