[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/khtml/html
From:       Ariya Hidayat <ariya () kde ! org>
Date:       2009-06-03 17:49:28
Message-ID: 1244051368.836998.9687.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 977253 by ariya:

Fix Canvas lighter composition mode. The right match is 
QPainter::CompositionMode_Plus.

Manual test is:
http://philip.html5.org/tests/canvas/suite/tests/2d.composite.solid.lighter.html


 M  +1 -1      html_canvasimpl.cpp  


--- trunk/KDE/kdelibs/khtml/html/html_canvasimpl.cpp #977252:977253
@@ -476,7 +476,7 @@
     {"destination-in",   QPainter::CompositionMode_DestinationIn},
     {"destination-out",  QPainter::CompositionMode_DestinationOut},
     {"destination-over", QPainter::CompositionMode_DestinationOver},
-    {"lighter", QPainter::CompositionMode_Lighten},
+    {"lighter", QPainter::CompositionMode_Plus},
     {"copy",    QPainter::CompositionMode_Source},
     {"xor",     QPainter::CompositionMode_Xor},
     {0, (QPainter::CompositionMode)0}
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic