Qt SVG renderer

Ariya Hidayat ariya at kde.org
Tue Jul 29 21:17:19 BST 2008


> That's what I'm most alarmed about. How did that junk appear?

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.

Just my two cents.


-- 
Ariya Hidayat, Software Engineer, Trolltech (a Nokia company)
http://www.google.com/search?q=ariya+hidayat




More information about the kde-core-devel mailing list