Qt SVG renderer

Jason Stubbs jasonbstubbs at gmail.com
Thu Aug 14 15:24:01 BST 2008


On 8/14/08, Thiago Macieira <thiago at kde.org> wrote:
> On Tuesday 29 July 2008 22:17:19 Ariya Hidayat wrote:
>> Reminds me of the typical mistake: in order to initialize a paint
>> device (with alpha channel) with transparent pixels, use QPainter and
>> perform fillRect(rect, Qt::transparent). This won't work *unless* you
>> set the composition mode to QPainter::CompositionMode_Source *before*
>> carrying out the fill.
>
> BTW, the system tray also has this same mistake. I've just realised that
> what
> I thought was mirroring effects is actually this problem: after starting
> Skype, it got a nepomuk background (the icon right to its left).

http://bugs.kde.org/show_bug.cgi?id=158094

The result may be the same, but the root cause and fix aren't quite as easy. :(

--
Jason Stubbs




More information about the kde-core-devel mailing list