tests/arthur/data/qps/dashes.qps
changeset 0 1918ee327afb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/arthur/data/qps/dashes.qps	Mon Jan 11 14:00:40 2010 +0000
@@ -0,0 +1,265 @@
+translate 20 20
+
+begin_block draw
+save
+  save
+    setPen black 1 SolidLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 1 SolidLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 1 SolidLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  
+    setPen black 2 SolidLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 2 SolidLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 2 SolidLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  
+    setPen black 6 SolidLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 6 SolidLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 6 SolidLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  restore
+  
+  
+  translate 100 0
+  save
+    setPen black 1 DotLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 1 DotLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 1 DotLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  
+    setPen black 2 DotLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 2 DotLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 2 DotLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  
+    setPen black 6 DotLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 6 DotLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 6 DotLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  restore
+  
+  translate 100 0
+  save
+    setPen black 1 DashLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 1 DashLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 1 DashLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  
+    setPen black 2 DashLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 2 DashLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 2 DashLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  
+    setPen black 6 DashLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 6 DashLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 6 DashLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  restore
+  
+  translate 100 0
+  
+  save
+    setPen black 1 DashDotLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 1 DashDotLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 1 DashDotLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  
+    setPen black 2 DashDotLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 2 DashDotLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 2 DashDotLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  
+    setPen black 6 DashDotLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 6 DashDotLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 6 DashDotLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  restore
+ 
+  translate 100 0
+
+  save
+    setPen black 1 DashDotDotLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 1 DashDotDotLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 1 DashDotDotLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  
+    setPen black 2 DashDotDotLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 2 DashDotDotLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 2 DashDotDotLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  
+    setPen black 4 DashDotDotLine FlatCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 4 DashDotDotLine SquareCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 4 DashDotDotLine RoundCap BevelJoin
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  restore
+
+  translate 100 0
+
+  save
+    setPen black 1 SolidLine FlatCap BevelJoin
+    pen_setDashPattern [1 4 9 4 27 4]
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 1 SolidLine SquareCap BevelJoin
+    pen_setDashPattern [1 4 9 4 27 4]
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 1 SolidLine RoundCap BevelJoin
+    pen_setDashPattern [1 4 9 4 27 4]
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  
+    setPen black 2 SolidLine FlatCap BevelJoin
+    pen_setDashPattern [1 4 9 4 27 4]
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 2 SolidLine SquareCap BevelJoin
+    pen_setDashPattern [1 4 9 4 27 4]
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 2 SolidLine RoundCap BevelJoin
+    pen_setDashPattern [1 4 9 4 27 4]
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  
+    setPen black 4 SolidLine FlatCap BevelJoin
+    pen_setDashPattern [1 4 9 4 27 4]
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 4 SolidLine SquareCap BevelJoin
+    pen_setDashPattern [1 4 9 4 27 4]
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+    setPen black 4 SolidLine RoundCap BevelJoin
+    pen_setDashPattern [1 4 9 4 27 4]
+    drawPolyline [0 0 80 0 80 30 40 20 0 30]
+    translate 0 40
+  restore
+
+restore
+end_block
+  
+translate 0 400
+setRenderHint Antialiasing
+repeat_block draw
+
+translate 0 -20
+drawText 30 0 "Solid"
+
+translate 100 0
+drawText 20 0 "DotLine"
+
+translate 100 0
+drawText 10 0 "DashLine"
+
+translate 100 0
+drawText 0 0 "DashDotLine"
+
+translate 100 0
+drawText 0 0 "DashDotDotLine"
+
+translate 100 0
+drawText 0 0 "CustomDashLine"
+
+resetMatrix
+
+translate 620 40
+
+begin_block width_and_caps_texts
+  drawText 0 0 "Width=1, FlatCap"
+  translate 0 40
+  drawText 0 0 "Width=1, SquareCap"
+  translate 0 40
+  drawText 0 0 "Width=1, RoundCap"
+  translate 0 40
+  drawText 0 0 "Width=2, FlatCap"
+  translate 0 40
+  drawText 0 0 "Width=2, SquareCap"
+  translate 0 40
+  drawText 0 0 "Width=2, RoundCap"
+  translate 0 40
+  drawText 0 0 "Width=6, FlatCap"
+  translate 0 40
+  drawText 0 0 "Width=6, SqareCap"
+  translate 0 40
+  drawText 0 0 "Width=6, RoundCap"
+end_block
+
+translate 0 80
+repeat_block width_and_caps_texts