summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/qps/clipping_state.qps
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arthur/data/qps/clipping_state.qps')
-rw-r--r--tests/arthur/data/qps/clipping_state.qps15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/arthur/data/qps/clipping_state.qps b/tests/arthur/data/qps/clipping_state.qps
index fd9a80a..3a66122 100644
--- a/tests/arthur/data/qps/clipping_state.qps
+++ b/tests/arthur/data/qps/clipping_state.qps
@@ -55,3 +55,18 @@ setClipping true
setBrush #6300ff00
drawRect 25 25 50 50
+
+# disable clipping followed by setClipRect
+translate 150 0
+
+setClipRect 0 0 50 50 ReplaceClip
+
+setClipping false
+
+setBrush #630000ff
+drawRect 0 0 100 100
+
+setClipRect 25 25 75 75 IntersectClip
+
+setBrush #6300ff00
+drawRect 25 25 50 50