diff options
author | Jerome Pasion <jerome.pasion@digia.com> | 2012-11-02 14:41:27 +0100 |
---|---|---|
committer | Jerome Pasion <jerome.pasion@digia.com> | 2012-11-02 14:41:27 +0100 |
commit | c808dd27459e030fde0577feb8ba06e3bd465526 (patch) | |
tree | 4bf898dc4a88e2b03c9716f940638a2e01c6c0ce /tests/auto/other/lancelot/scripts/paths.qps | |
parent | d9d8845d507a6bdbc9c9f24c0d9d86dca513461d (diff) | |
parent | 300534fc214f2547a63594ce0891e9a54c8f33ca (diff) |
Merge branch 'master' of ssh://codereview.qt-project.org/qt/qtbase into newdocs
Change-Id: I7e6cee190a341901dfbf8effb54ebccb91bf7a17
Diffstat (limited to 'tests/auto/other/lancelot/scripts/paths.qps')
-rw-r--r-- | tests/auto/other/lancelot/scripts/paths.qps | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/tests/auto/other/lancelot/scripts/paths.qps b/tests/auto/other/lancelot/scripts/paths.qps index 555390de45..454b2a039d 100644 --- a/tests/auto/other/lancelot/scripts/paths.qps +++ b/tests/auto/other/lancelot/scripts/paths.qps @@ -1,8 +1,12 @@ # Version: 1 -setPen black +setPen black 1 setBrush 7f7fff +setFont "arial" 12 +drawText 10 330 "Non-Cosmetic" +drawText 10 730 "Cosmetic" + path_moveTo star 50 0 path_lineTo star 30 90 path_lineTo star 100 60 @@ -29,6 +33,17 @@ translate -200 100 drawPath text end_block -translate 50 100 +begin_block xform +save +translate 50 60 rotate 10 +scale 1.0 0.7 +repeat_block drawing +restore +end_block xform + +setPen black 0 +setBrush ff7f7f +translate 0 300 repeat_block drawing +repeat_block xform |