KDE/kdebase/workspace/plasma/applets/kickoff/ui

Diego Iastrubni elcuco at kde.org
Thu Aug 28 21:30:26 CEST 2008


can any one of you graphics ninjas explain to us n00bz the difference between 
a cosmetic pen and a non cosmetic pen...?

On Thursday 28 August 2008 21:23:34 Aaron J. Seigo wrote:
> On Thursday 28 August 2008, Zack Rusin wrote:
> > QPen pen(Qt::black) != QPen pen(Qt::black, 1);
> > in fact they're fair away. The first one is a cosmetic pen, the second
> > one is not (the first one doesn't get transformed the second one does).
> > Qt has a lot of optimizations for cosmetic pens.
>
> yes, this should almost certainly be using a cosmetic pen.




More information about the Plasma-devel mailing list