<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QPainter::drawArc: is there a similar function for QPainterPath?]]></title><description><![CDATA[<p dir="auto">!<a href="http://s24.postimg.org/5qk97l5gl/terminal.png(Terminal)" target="_blank" rel="noopener noreferrer nofollow ugc">http://s24.postimg.org/5qk97l5gl/terminal.png(Terminal)</a>!</p>
<p dir="auto">Hi,</p>
<p dir="auto">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):</p>
<p dir="auto">@<br />
(blah blah)<br />
painter-&gt;drawArc(inner, initarc * 16, endarc * 16);<br />
(...)<br />
painter-&gt;drawLine(initPoint, endPoint);<br />
@</p>
<p dir="auto">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?</p>
<p dir="auto">Something like: painter-&gt;drawArc(rectangle, angle1, angle2)  = QPainterPath::drawArc(same parameters).</p>
<p dir="auto">I tryied with @QPainterPath::arcTo @ and @QPainterPath::arcMoveTo @ and didn't work.</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.qt.io/topic/30509/qpainter-drawarc-is-there-a-similar-function-for-qpainterpath</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 03:54:50 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/30509.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 Aug 2013 10:22:28 GMT</pubDate><ttl>60</ttl></channel></rss>