<?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[QPainterPath::contains - Docs too brief]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bool">@<bdi>bool</bdi></a> QPainterPath::contains ( const QRectF &amp; rectangle ) const</p>
<p dir="auto">Returns true if the given rectangle is inside the path, otherwise returns false.@</p>
<p dir="auto">Does it mean completely contained? Partially contained? All corners contained? All lines contained?</p>
]]></description><link>https://forum.qt.io/topic/36971/qpainterpath-contains-docs-too-brief</link><generator>RSS for Node</generator><lastBuildDate>Thu, 22 Oct 2026 14:47:12 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/36971.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 24 Jan 2014 11:34:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QPainterPath::contains - Docs too brief on Fri, 24 Jan 2014 13:54:52 GMT]]></title><description><![CDATA[<p dir="auto">It's just an example to illustrate that the word "contained" alone is not as clear as one would hope.<br />
I wouldn't dare to update the documentation based on some trial and error. The docs need to describe how the method is expected to perform (and any deviation from that is then a good basis for a bug report).</p>
]]></description><link>https://forum.qt.io/post/212085</link><guid isPermaLink="true">https://forum.qt.io/post/212085</guid><dc:creator><![CDATA[Asperamanca]]></dc:creator><pubDate>Fri, 24 Jan 2014 13:54:52 GMT</pubDate></item><item><title><![CDATA[Reply to QPainterPath::contains - Docs too brief on Fri, 24 Jan 2014 13:06:53 GMT]]></title><description><![CDATA[<p dir="auto">That is a quite specific use case. You can test, and maybe update the documentation with your findings (or file a bug report for that).</p>
]]></description><link>https://forum.qt.io/post/212073</link><guid isPermaLink="true">https://forum.qt.io/post/212073</guid><dc:creator><![CDATA[sierdzio]]></dc:creator><pubDate>Fri, 24 Jan 2014 13:06:53 GMT</pubDate></item><item><title><![CDATA[Reply to QPainterPath::contains - Docs too brief on Fri, 24 Jan 2014 12:57:20 GMT]]></title><description><![CDATA[<p dir="auto">Ok, I know about the limitations concerning whether edges are included or not.<br />
But for example, if I have a painter path in form of a pac man (circle with open triangular mouth), and a rectangle which is completely inside the pac man's bounding rectangle, but partially visible in the mouth - is that rectangle considered "contained"?</p>
]]></description><link>https://forum.qt.io/post/212069</link><guid isPermaLink="true">https://forum.qt.io/post/212069</guid><dc:creator><![CDATA[Asperamanca]]></dc:creator><pubDate>Fri, 24 Jan 2014 12:57:20 GMT</pubDate></item><item><title><![CDATA[Reply to QPainterPath::contains - Docs too brief on Fri, 24 Jan 2014 12:52:33 GMT]]></title><description><![CDATA[<p dir="auto">Judging from other places (QRectF), it's probably something like "more or less completely contained". It's usually hard to say for sure when dealing with floating point numbers.</p>
]]></description><link>https://forum.qt.io/post/212067</link><guid isPermaLink="true">https://forum.qt.io/post/212067</guid><dc:creator><![CDATA[sierdzio]]></dc:creator><pubDate>Fri, 24 Jan 2014 12:52:33 GMT</pubDate></item></channel></rss>