Draw an arc with QPainter
General and Desktop
3
Posts
2
Posters
6.0k
Views
1
Watching
-
wrote on 10 Oct 2011, 08:15 last edited by
Hi,
I'm currently trying to draw something like that with QPainter
!http://www.hostingpics.net/thumbs/54/62/95/mini_546295arc.png(arc)!
But I only manage to draw a pie.Did someone now how can i do ?
Thanks -
wrote on 10 Oct 2011, 08:18 last edited by
Why don't you use sequential calls of "QPainter::drawArc":http://doc.qt.nokia.com/4.7/qpainter.html#drawArc and "QPainter::drawLine":http://doc.qt.nokia.com/4.7/qpainter.html#drawLine ?
Or maybe a call of "QPainter::drawPath":http://doc.qt.nokia.com/4.7/qpainter.html#drawPath . -
wrote on 11 Oct 2011, 07:55 last edited by
Thanks I'ill try this way.
1/3