summaryrefslogtreecommitdiffstats
path: root/tests/test-painter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-painter.cpp')
-rw-r--r--tests/test-painter.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/test-painter.cpp b/tests/test-painter.cpp
index f912009..ad3eb36 100644
--- a/tests/test-painter.cpp
+++ b/tests/test-painter.cpp
@@ -71,6 +71,22 @@ void runTests(TQPaintDevice* pd) {
{
p.setPen( TQt::blue ); // set blue pen, 0 pixel width
p.drawLine(140,140, 160,160);
+ p.setPen( TQt::blue ); // set blue pen, 0 pixel width
+ p.drawLine(470,140, 480,160);
+ p.setPen( TQt::blue ); // set blue pen, 0 pixel width
+ p.drawLine(470,170, 490,170);
+ p.setPen( TQPen(TQt::blue, 1) ); // set blue pen, 1 pixel width
+ p.drawLine(470,180, 490,180);
+ p.setPen( TQPen(TQt::blue, 2) ); // set blue pen, 2 pixel width
+ p.drawLine(470,190, 490,190);
+ p.setPen( TQPen(TQt::blue, 3) ); // set blue pen, 3 pixel width
+ p.drawLine(470,200, 490,200);
+ p.setPen( TQPen(TQt::blue, 4) ); // set blue pen, 4 pixel width
+ p.drawLine(470,210, 490,210);
+ p.setPen( TQPen(TQt::blue, 5) ); // set blue pen, 5 pixel width
+ p.drawLine(470,220, 490,220);
+ p.setPen( TQPen(TQt::blue, 6) ); // set blue pen, 6 pixel width
+ p.drawLine(470,230, 490,230);
}
// Point tests