|
1 |
|
2 path_moveTo convexPath 25 0 |
|
3 path_lineTo convexPath 50 50 |
|
4 path_lineTo convexPath 25 25 |
|
5 path_lineTo convexPath 0 50 |
|
6 path_closeSubpath convexPath |
|
7 |
|
8 pixmap_load border.png pixmap |
|
9 |
|
10 setRenderHint LineAntialiasing false |
|
11 translate 10 10 |
|
12 |
|
13 begin_block drawing |
|
14 setPen black 1 |
|
15 setBrush 7f7fff |
|
16 drawPath convexPath |
|
17 |
|
18 setFont "monospace" 8 |
|
19 setPen black |
|
20 drawText 0 68 "QwErTy@" |
|
21 |
|
22 |
|
23 setPen black 1 |
|
24 setBrush 7f7fff |
|
25 drawRect 0 80 10 5 |
|
26 |
|
27 setPen black 1 |
|
28 setBrush noBrush |
|
29 drawRect 20 80 10 5 |
|
30 |
|
31 setPen noPen |
|
32 setBrush 7f7fff |
|
33 drawRect 40 80 10 5 |
|
34 |
|
35 |
|
36 setPen black 2 |
|
37 setBrush 7f7fff |
|
38 drawRect 0 90 10 5 |
|
39 |
|
40 setPen black 2 |
|
41 setBrush noBrush |
|
42 drawRect 20 90 10 5 |
|
43 |
|
44 setPen noPen |
|
45 setBrush 7f7fff |
|
46 drawRect 40 90 10 5 |
|
47 |
|
48 |
|
49 setPen black 3 |
|
50 setBrush 7f7fff |
|
51 drawRect 0 100 10 5 |
|
52 |
|
53 setPen black 3 |
|
54 setBrush noBrush |
|
55 drawRect 20 100 10 5 |
|
56 |
|
57 setPen noPen |
|
58 setBrush 7f7fff |
|
59 drawRect 40 100 10 5 |
|
60 |
|
61 |
|
62 setPen black 1 |
|
63 setBrush noBrush |
|
64 drawLine 10 110 20 120 |
|
65 drawLine 30 120 40 110 |
|
66 |
|
67 setPen black 2 |
|
68 setBrush noBrush |
|
69 drawLine 10 120 20 130 |
|
70 drawLine 30 130 40 120 |
|
71 |
|
72 setPen black 3 |
|
73 setBrush noBrush |
|
74 drawLine 10 130 20 140 |
|
75 drawLine 30 140 40 130 |
|
76 |
|
77 drawPixmap pixmap 0 150 |
|
78 |
|
79 setRenderHint SmoothPixmapTransform false |
|
80 drawPixmap pixmap 20 150 15 15 0 0 10 10 |
|
81 |
|
82 end_block |
|
83 |
|
84 translate 0 180 |
|
85 setRenderHint LineAntialiasing true |
|
86 repeat_block drawing |
|
87 drawText 15 185 "0.0" |
|
88 |
|
89 resetMatrix |
|
90 translate 70.2 10.2 |
|
91 setRenderHint LineAntialiasing false |
|
92 repeat_block drawing |
|
93 translate 0 180 |
|
94 setRenderHint LineAntialiasing true |
|
95 repeat_block drawing |
|
96 translate -0.2 -0.2 |
|
97 drawText 15 185 "0.2" |
|
98 |
|
99 |
|
100 resetMatrix |
|
101 translate 130.4 10.4 |
|
102 setRenderHint LineAntialiasing false |
|
103 repeat_block drawing |
|
104 translate 0 180 |
|
105 setRenderHint LineAntialiasing true |
|
106 repeat_block drawing |
|
107 translate -0.4 -0.4 |
|
108 drawText 15 185 "0.4" |
|
109 |
|
110 |
|
111 resetMatrix |
|
112 translate 190.5 10.5 |
|
113 setRenderHint LineAntialiasing false |
|
114 repeat_block drawing |
|
115 translate 0 180 |
|
116 setRenderHint LineAntialiasing true |
|
117 repeat_block drawing |
|
118 translate -0.5 -0.5 |
|
119 drawText 15 185 "0.5" |
|
120 |
|
121 |
|
122 resetMatrix |
|
123 translate 250.6 10.6 |
|
124 setRenderHint LineAntialiasing false |
|
125 repeat_block drawing |
|
126 translate 0 180 |
|
127 setRenderHint LineAntialiasing true |
|
128 repeat_block drawing |
|
129 translate -0.6 -0.6 |
|
130 drawText 15 185 "0.6" |
|
131 |
|
132 |
|
133 resetMatrix |
|
134 translate 310.8 10.8 |
|
135 setRenderHint LineAntialiasing false |
|
136 repeat_block drawing |
|
137 translate 0 180 |
|
138 setRenderHint LineAntialiasing true |
|
139 repeat_block drawing |
|
140 translate -0.8 -0.8 |
|
141 drawText 15 185 "0.8" |
|
142 |
|
143 |
|
144 resetMatrix |
|
145 translate 371 11 |
|
146 setRenderHint LineAntialiasing false |
|
147 repeat_block drawing |
|
148 translate 0 180 |
|
149 setRenderHint LineAntialiasing true |
|
150 repeat_block drawing |
|
151 drawText 15 185 "1.0" |
|
152 |
|
153 |
|
154 resetMatrix |
|
155 drawText 430 95 "Aliased" |
|
156 drawText 430 275 "Anti-Aliased" |