[Qt-interest] QPainter composition modes & QGraphicsScene

Fred Duarte fred.duarte at openbossa.org
Sat Apr 11 18:11:04 CEST 2009


I'm using the QPainter's composition modes to create blended QImages
and I would also like to use it on a QGraphicsScene.
Since QGraphicsScene only accepts QPixmaps, is it possible to set the
composition mode inside the
*paint *method of a QGraphicsPixmapItem?
I tried but, it displays the following error message:
*"**QPainter::setCompositionMode: Blend modes not supported on device*"

Any ideas?

-- 
Frederico Simas Duarte
MLS - Mobile Linux Software
INDT - Nokia Institute
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090411/6368846f/attachment.html 


More information about the Qt-interest-old mailing list