0
|
1 |
image_load borderimage.png borderimage
|
|
2 |
|
|
3 |
translate -128 -128
|
|
4 |
begin_block draw_border
|
|
5 |
|
|
6 |
# top
|
|
7 |
drawImage borderimage 0 0 16 16 0 0 16 16
|
|
8 |
drawImage borderimage 16 0 36 16 16 0 32 16
|
|
9 |
drawImage borderimage 52 0 16 16 48 0 16 16
|
|
10 |
|
|
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 |
|
|
15 |
#bottom
|
|
16 |
drawImage borderimage 0 32 16 16 0 48 16 16
|
|
17 |
drawImage borderimage 16 32 36 16 16 48 32 16
|
|
18 |
drawImage borderimage 52 32 16 16 48 48 16 16
|
|
19 |
|
|
20 |
end_block draw_border
|
|
21 |
|
|
22 |
resetMatrix
|
|
23 |
|
|
24 |
begin_block draw_column
|
|
25 |
|
|
26 |
translate 1 1
|
|
27 |
repeat_block draw_border
|
|
28 |
translate 0.1 64.1
|
|
29 |
repeat_block draw_border
|
|
30 |
translate 0.1 64.1
|
|
31 |
repeat_block draw_border
|
|
32 |
translate 0.1 64.1
|
|
33 |
repeat_block draw_border
|
|
34 |
translate 0.1 64.1
|
|
35 |
repeat_block draw_border
|
|
36 |
translate 0.1 64.1
|
|
37 |
repeat_block draw_border
|
|
38 |
translate 0.1 64.1
|
|
39 |
repeat_block draw_border
|
|
40 |
translate 0.1 64.1
|
|
41 |
repeat_block draw_border
|
|
42 |
translate 0.1 64.1
|
|
43 |
repeat_block draw_border
|
|
44 |
translate 0.1 64.1
|
|
45 |
repeat_block draw_border
|
|
46 |
|
|
47 |
end_block draw_column
|
|
48 |
|
|
49 |
setRenderHint Antialiasing
|
|
50 |
|
|
51 |
resetMatrix
|
|
52 |
translate 72 0
|
|
53 |
|
|
54 |
repeat_block draw_column
|
|
55 |
|
|
56 |
resetMatrix
|
|
57 |
scale 1.25 1.25
|
|
58 |
translate 144 0
|
|
59 |
|
|
60 |
repeat_block draw_border
|
|
61 |
|
|
62 |
resetMatrix
|
|
63 |
scale 1.25 1.25
|
|
64 |
translate 246 0
|
|
65 |
rotate 30
|
|
66 |
|
|
67 |
repeat_block draw_border
|
|
68 |
|
|
69 |
setRenderHint SmoothPixmapTransform
|
|
70 |
|
|
71 |
resetMatrix
|
|
72 |
scale 1.25 1.25
|
|
73 |
translate 144 120
|
|
74 |
|
|
75 |
repeat_block draw_border
|
|
76 |
|
|
77 |
resetMatrix
|
|
78 |
scale 1.25 1.25
|
|
79 |
translate 246 120
|
|
80 |
rotate 30
|
|
81 |
|
|
82 |
repeat_block draw_border
|
|
83 |
|
|
84 |
resetMatrix
|
|
85 |
translate 215 260
|
|
86 |
scale 3.55 3.55
|
|
87 |
rotate 30
|
|
88 |
|
|
89 |
repeat_block draw_border
|
|
90 |
|
|
91 |
resetMatrix
|
|
92 |
setRenderHint SmoothPixmapTransform off
|
|
93 |
setRenderHint Antialiasing off
|
|
94 |
|
|
95 |
translate 480 627
|
|
96 |
rotate 180
|
|
97 |
repeat_block draw_column
|
|
98 |
|
|
99 |
resetMatrix
|
|
100 |
setRenderHint Antialiasing
|
|
101 |
|
|
102 |
translate 552 627
|
|
103 |
rotate 180
|
|
104 |
repeat_block draw_column
|
|
105 |
|
|
106 |
resetMatrix
|
|
107 |
setRenderHint Antialiasing off
|
|
108 |
|
|
109 |
translate 200.1 520.1
|
|
110 |
|
|
111 |
begin_block one_pixel_border
|
|
112 |
drawImage borderimage 0 0 16 16 0 0 16 16
|
|
113 |
drawImage borderimage 16 0 64 16 16 0 1 1
|
|
114 |
drawImage borderimage 80 0 16 16 48 0 16 16
|
|
115 |
|
|
116 |
drawImage borderimage 0 16 16 64 16 0 1 1
|
|
117 |
drawImage borderimage 80 16 16 64 16 0 1 1
|
|
118 |
|
|
119 |
drawImage borderimage 0 80 16 16 0 48 16 16
|
|
120 |
drawImage borderimage 16 80 64 16 16 0 1 1
|
|
121 |
drawImage borderimage 80 80 16 16 48 48 16 16
|
|
122 |
end_block one_pixel_border
|
|
123 |
|
|
124 |
resetMatrix
|
|
125 |
|
|
126 |
translate 205.1 626.1
|
|
127 |
scale 0.4 0.4
|
|
128 |
|
|
129 |
repeat_block one_pixel_border
|
|
130 |
|
|
131 |
resetMatrix
|
|
132 |
|
|
133 |
translate 255.1 624.1
|
|
134 |
scale 0.4 0.4
|
|
135 |
rotate 10
|
|
136 |
|
|
137 |
repeat_block one_pixel_border
|
|
138 |
|
|
139 |
resetMatrix
|
|
140 |
|
|
141 |
setPen red
|
|
142 |
|
|
143 |
drawRect 0 0 70 680
|
|
144 |
drawText 10 670 "aa off"
|
|
145 |
|
|
146 |
drawRect 72 0 70 680
|
|
147 |
drawText 80 670 "aa on"
|
|
148 |
|
|
149 |
drawRect 409 0 70 680
|
|
150 |
drawText 419 650 "rot 180"
|
|
151 |
drawText 419 670 "aa off"
|
|
152 |
|
|
153 |
drawRect 481 0 70 680
|
|
154 |
drawText 491 650 "rot 180"
|
|
155 |
drawText 491 670 "aa on"
|
|
156 |
|
|
157 |
drawRect 164 0 224 124
|
|
158 |
drawText 174 114 "smoothpixmaptransform off"
|
|
159 |
|
|
160 |
drawRect 164 128 224 134
|
|
161 |
drawText 174 252 "smoothpixmaptransform on"
|
|
162 |
|
|
163 |
drawRect 200 520 97 188
|
|
164 |
drawText 210 698 "1x1 edges"
|