<?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[Hardness of brush]]></title><description><![CDATA[<p dir="auto">We used qbrush and qpen to draw round dots of different sizes in a qpainter application. The dots of large size look at disks. What I really want is drawing dots with radial gradient of opacity --- similar to the paintbrush selection in Gimp or Photoshop, so that later drawn dots will alpha-blending with those previously drawn or background.</p>
<p dir="auto">Can someone suggest how to achieve this? Thanks.</p>
<p dir="auto">Guan</p>
]]></description><link>https://forum.qt.io/topic/59151/hardness-of-brush</link><generator>RSS for Node</generator><lastBuildDate>Tue, 13 Oct 2026 02:44:09 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/59151.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Sep 2015 19:39:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hardness of brush on Thu, 24 Sep 2015 20:10:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eddy">@<bdi>Eddy</bdi></a> said:</p>
<blockquote>
<p dir="auto">Qt::RadialGradientPattern</p>
</blockquote>
<p dir="auto">Hi Eddy,</p>
<p dir="auto">Thank you very much for the quick response. I tried but didn't have luck. Perhaps, I used it in a wrong way. It seems to me that it only works if you use drawEllipse not drawPoint.</p>
<p dir="auto">If you have a sample code to show how it works, I would appreciate it very much.</p>
<p dir="auto">Best,<br />
Guan</p>
]]></description><link>https://forum.qt.io/post/291436</link><guid isPermaLink="true">https://forum.qt.io/post/291436</guid><dc:creator><![CDATA[Guan]]></dc:creator><pubDate>Thu, 24 Sep 2015 20:10:05 GMT</pubDate></item><item><title><![CDATA[Reply to Hardness of brush on Thu, 24 Sep 2015 19:56:05 GMT]]></title><description><![CDATA[<p dir="auto">Hi Guab,</p>
<p dir="auto">Have a try with</p>
<p dir="auto">Qt::RadialGradientPattern</p>
]]></description><link>https://forum.qt.io/post/291428</link><guid isPermaLink="true">https://forum.qt.io/post/291428</guid><dc:creator><![CDATA[Eddy]]></dc:creator><pubDate>Thu, 24 Sep 2015 19:56:05 GMT</pubDate></item></channel></rss>