<div dir="ltr">I'm quite interrested by understand the difference of the two types QPen, i mean uses cases and so<br><br><div class="gmail_quote">On Thu, Aug 28, 2008 at 9:30 PM, Diego Iastrubni <span dir="ltr"><<a href="mailto:elcuco@kde.org">elcuco@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">can any one of you graphics ninjas explain to us n00bz the difference between<br>
a cosmetic pen and a non cosmetic pen...?<br>
<div class="Ih2E3d"><br>
On Thursday 28 August 2008 21:23:34 Aaron J. Seigo wrote:<br>
> On Thursday 28 August 2008, Zack Rusin wrote:<br>
> > QPen pen(Qt::black) != QPen pen(Qt::black, 1);<br>
> > in fact they're fair away. The first one is a cosmetic pen, the second<br>
> > one is not (the first one doesn't get transformed the second one does).<br>
> > Qt has a lot of optimizations for cosmetic pens.<br>
><br>
> yes, this should almost certainly be using a cosmetic pen.<br>
<br>
<br>
</div><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
</div></div></blockquote></div><br></div>