diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-11-06 09:10:46 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-11-06 09:10:46 (GMT) |
commit | 3c0b6de86ce044ce6f3f4a445d1de90b4e7bb1d9 (patch) | |
tree | 7c8f952c34520b465ac74027d2f05650fc388193 /tests/auto/qpainter/tst_qpainter.cpp | |
parent | 164f2b1e013adcf829cdfac2875ab25109a7c578 (diff) | |
download | Qt-3c0b6de86ce044ce6f3f4a445d1de90b4e7bb1d9.zip Qt-3c0b6de86ce044ce6f3f4a445d1de90b4e7bb1d9.tar.gz Qt-3c0b6de86ce044ce6f3f4a445d1de90b4e7bb1d9.tar.bz2 |
Updated testcase since soft-light algorithm rewrite.
The SVG standard changed the algorithm which implies some changes to
the results as well.
Reviewed-by: Kim
Diffstat (limited to 'tests/auto/qpainter/tst_qpainter.cpp')
-rw-r--r-- | tests/auto/qpainter/tst_qpainter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qpainter/tst_qpainter.cpp b/tests/auto/qpainter/tst_qpainter.cpp index 8ed83cb..bcdbe56 100644 --- a/tests/auto/qpainter/tst_qpainter.cpp +++ b/tests/auto/qpainter/tst_qpainter.cpp @@ -4193,9 +4193,9 @@ void tst_QPainter::extendedBlendModes() QVERIFY(testCompositionMode(255, 255, 255, QPainter::CompositionMode_SoftLight)); QVERIFY(testCompositionMode( 0, 0, 0, QPainter::CompositionMode_SoftLight)); - QVERIFY(testCompositionMode(127, 127, 127, QPainter::CompositionMode_SoftLight)); - QVERIFY(testCompositionMode( 63, 63, 86, QPainter::CompositionMode_SoftLight)); - QVERIFY(testCompositionMode(127, 63, 63, QPainter::CompositionMode_SoftLight)); + QVERIFY(testCompositionMode(127, 127, 126, QPainter::CompositionMode_SoftLight)); + QVERIFY(testCompositionMode( 63, 63, 39, QPainter::CompositionMode_SoftLight)); + QVERIFY(testCompositionMode(127, 63, 62, QPainter::CompositionMode_SoftLight)); QVERIFY(testCompositionMode(255, 255, 0, QPainter::CompositionMode_Difference)); QVERIFY(testCompositionMode( 0, 0, 0, QPainter::CompositionMode_Difference)); |