Debian Codegraph @

tests/auto/other/lancelot/scripts/borderimage.qps

raw
1 # Version: 1
2 # CheckVsReference: 10%
3
4 image_load borderimage.png borderimage
5 translate -128 -128
6 begin_block draw_border
7 # top
8 drawImage borderimage 0 0 16 16 0 0 16 16
9 drawImage borderimage 16 0 36 16 16 0 32 16
10 drawImage borderimage 52 0 16 16 48 0 16 16
11 # sides
12 drawImage borderimage 0 16 16 16 0 16 16 32
13 drawImage borderimage 52 16 16 16 48 16 16 32
14 #bottom
15 drawImage borderimage 0 32 16 16 0 48 16 16
16 drawImage borderimage 16 32 36 16 16 48 32 16
17 drawImage borderimage 52 32 16 16 48 48 16 16
18 end_block draw_border
19 resetMatrix
20 begin_block draw_column
21 translate 1 1
22 repeat_block draw_border
23 translate 0.1 64.1
24 repeat_block draw_border
25 translate 0.1 64.1
26 repeat_block draw_border
27 translate 0.1 64.1
28 repeat_block draw_border
29 translate 0.1 64.1
30 repeat_block draw_border
31 translate 0.1 64.1
32 repeat_block draw_border
33 translate 0.1 64.1
34 repeat_block draw_border
35 translate 0.1 64.1
36 repeat_block draw_border
37 translate 0.1 64.1
38 repeat_block draw_border
39 translate 0.1 64.1
40 repeat_block draw_border
41 end_block draw_column
42 setRenderHint Antialiasing
43 resetMatrix
44 translate 72 0
45 repeat_block draw_column
46 resetMatrix
47 scale 1.25 1.25
48 translate 144 0
49 repeat_block draw_border
50 resetMatrix
51 scale 1.25 1.25
52 translate 246 0
53 rotate 30
54 repeat_block draw_border
55 setRenderHint SmoothPixmapTransform
56 resetMatrix
57 scale 1.25 1.25
58 translate 144 120
59 repeat_block draw_border
60 resetMatrix
61 scale 1.25 1.25
62 translate 246 120
63 rotate 30
64 repeat_block draw_border
65 resetMatrix
66 translate 215 260
67 scale 3.55 3.55
68 rotate 30
69 repeat_block draw_border
70 resetMatrix
71 setRenderHint SmoothPixmapTransform off
72 setRenderHint Antialiasing off
73 translate 480 627
74 rotate 180
75 repeat_block draw_column
76 resetMatrix
77 setRenderHint Antialiasing
78 translate 552 627
79 rotate 180
80 repeat_block draw_column
81 resetMatrix
82 setRenderHint Antialiasing off
83 translate 200.1 520.1
84 begin_block one_pixel_border
85 drawImage borderimage 0 0 16 16 0 0 16 16
86 drawImage borderimage 16 0 64 16 16 0 1 1
87 drawImage borderimage 80 0 16 16 48 0 16 16
88 drawImage borderimage 0 16 16 64 16 0 1 1
89 drawImage borderimage 80 16 16 64 16 0 1 1
90 drawImage borderimage 0 80 16 16 0 48 16 16
91 drawImage borderimage 16 80 64 16 16 0 1 1
92 drawImage borderimage 80 80 16 16 48 48 16 16
93 end_block one_pixel_border
94 resetMatrix
95 translate 205.1 626.1
96 scale 0.4 0.4
97 repeat_block one_pixel_border
98 resetMatrix
99 translate 255.1 624.1
100 scale 0.4 0.4
101 rotate 10
102 repeat_block one_pixel_border
103 resetMatrix
104 setPen red
105 drawRect 0 0 70 680
106 drawText 10 670 "aa off"
107 drawRect 72 0 70 680
108 drawText 80 670 "aa on"
109 drawRect 409 0 70 680
110 drawText 419 650 "rot 180"
111 drawText 419 670 "aa off"
112 drawRect 481 0 70 680
113 drawText 491 650 "rot 180"
114 drawText 491 670 "aa on"
115 drawRect 164 0 224 124
116 drawText 174 114 "smoothpixmaptransform off"
117 drawRect 164 128 224 134
118 drawText 174 252 "smoothpixmaptransform on"
119 drawRect 200 520 97 188
120 drawText 210 698 "1x1 edges"