summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-painter.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test-painter.cpp b/tests/test-painter.cpp
index fe1939f..45e064c 100644
--- a/tests/test-painter.cpp
+++ b/tests/test-painter.cpp
@@ -217,6 +217,15 @@ void runTests(TQPaintDevice* pd) {
TQRegion rectRegion(425,35,50,50);
p.setClipRegion(rectRegion);
p.fillRect(boundary, TQBrush(TQt::green));
+ p.setClipping(false);
+ }
+
+ // Raster operation tests
+ {
+ p.setRasterOp(TQPainter::XorROP);
+ p.setBrush(TQBrush(TQt::white));
+ p.setPen(TQPen());
+ p.drawRect(325, 275, 50, 50);
}
//drawColorWheel(&p, 0.5);