test: use different test image to bring out aliasing flaws
authorChristian Pulvermacher <christian@hazel.(none)>
Sun, 28 Nov 2010 15:54:53 +0000 (16:54 +0100)
committerChristian Pulvermacher <christian@hazel.(none)>
Sun, 28 Nov 2010 15:54:53 +0000 (16:54 +0100)
test/painting.cpp
test/stripes.png [new file with mode: 0644]
test/test.png [deleted file]

index 9214c0d..c843c77 100644 (file)
@@ -15,7 +15,7 @@ public:
                QWidget(0)
        {
                msecs = paints = mode = 0;
-               img = QImage("test.png");
+               img = QImage("stripes.png");
 
                QTimer *timer = new QTimer(this);
                connect(timer, SIGNAL(timeout()),
@@ -33,6 +33,7 @@ private:
 void Widget::paintEvent(QPaintEvent*)
 {
        QPainter painter(this);
+       //painter.setRenderHint(QPainter::SmoothPixmapTransform);
 
        QTime t;
        t.start();
diff --git a/test/stripes.png b/test/stripes.png
new file mode 100644 (file)
index 0000000..c1d31db
Binary files /dev/null and b/test/stripes.png differ
diff --git a/test/test.png b/test/test.png
deleted file mode 100644 (file)
index fce6c7a..0000000
Binary files a/test/test.png and /dev/null differ