summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/qps/linedashes2.qps
blob: 3ea2a17bd6a76153eeb9a3c8a06b569ee518602d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
translate -30 10

setPen 0xffff0000 0 dashline squarecap
pen_setDashPattern [10 5]

save
translate 100 100
begin_block lines
drawLine 100 100 200 100
drawLine 100 100 200 200
drawLine 100 100 100 200
end_block

setPen 0xffff0000 2 dashline squarecap
translate 150 0
repeat_block lines
restore

save
save
begin_block horizontal
drawLine 0 0 50 0
drawLine 3 10 53 10
drawLine 6 20 56 20
drawLine 9 30 59 30

translate 0 50

drawLine 0 0 50 5
drawLine 3 10 53 15
drawLine 6 20 56 25
drawLine 9 30 59 35

translate 0 50

drawLine 0 0 50 -5
drawLine 3 10 53 5
drawLine 6 20 56 15
drawLine 9 30 59 25
end_block
restore

save
translate 80 0
repeat_block horizontal
restore
save
translate 800 0
repeat_block horizontal
restore

translate 180 -40
save
begin_block vertical
drawLine 0 0 0 50
drawLine 10 3 10 53
drawLine 20 6 20 56
drawLine 30 9 30 59

translate 50 0

drawLine 0 0 5 50
drawLine 10 3 15 53
drawLine 20 6 25 56
drawLine 30 9 35 59

translate 50 0

drawLine 0 0 -5 50
drawLine 10 3 5 53
drawLine 20 6 15 56
drawLine 30 9 25 59
end_block
restore

save
translate 0 80
repeat_block vertical
restore
translate 0 800
repeat_block vertical
restore

translate 0 200

setPen 0xffff0000 2 dashline squarecap
save
repeat_block horizontal
restore
save
translate 80 0
repeat_block horizontal
restore
save
translate 780 0
repeat_block horizontal
restore

translate 360 -240
save
repeat_block vertical
restore
save
translate 0 80
repeat_block vertical
restore
translate 0 780
repeat_block vertical

resetMatrix
translate 40 400
setPen 0xffff0000 5 dashdotline flatcap
pen_setDashPattern [1 1 4 1 1 4]
pen_setDashOffset -4
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset -2
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 0
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 2
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 4
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 6
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 8
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 10
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 12
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 14
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 16
drawLine 0 0 300 0

resetMatrix
setPen black 3 dashdotline
pen_setCosmetic true
translate 0 -150
drawLine 500 160 500 410