Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QPainter::drawArc: is there a similar function for QPainterPath?
Rhadel last edited by
As you can see at image, I established a "complex" structure drawn with some arcs. Its maked ease with some calculus (2 arcs and 1 line for each one):
painter->drawArc(inner, initarc * 16, endarc * 16);
Now, I would like brushing its area using QPainterPath. In order to make more easy this stuff, I ask: is there some way to reuse all the calculus maked for painter to create a QPainterPath and brush inner region?
Something like: painter->drawArc(rectangle, angle1, angle2) = QPainterPath::drawArc(same parameters).
I tryied with @QPainterPath::arcTo @ and @QPainterPath::arcMoveTo @ and didn't work.