0
|
1 |
begin_block draw
|
|
2 |
setPen red
|
|
3 |
drawPolygon [1.1 1 3.3 30.6 23.1 39.2 38.9 6.5]
|
|
4 |
setPen black
|
|
5 |
drawLine 1.1 1 3.3 30.6
|
|
6 |
drawLine 3.3 30.6 23.1 39.2
|
|
7 |
drawLine 23.1 39.2 38.9 6.5
|
|
8 |
drawLine 38.9 6.5 1.1 1
|
|
9 |
end_block draw
|
|
10 |
drawText 0 60 "0.0 aligned"
|
|
11 |
translate 0.1 80.1
|
|
12 |
repeat_block draw
|
|
13 |
drawText 0 60 "0.1 aligned"
|
|
14 |
translate 0.1 80.1
|
|
15 |
repeat_block draw
|
|
16 |
drawText 0 60 "0.2 aligned"
|
|
17 |
translate 0.1 80.1
|
|
18 |
repeat_block draw
|
|
19 |
drawText 0 60 "0.3 aligned"
|
|
20 |
translate 0.1 80.1
|
|
21 |
repeat_block draw
|
|
22 |
drawText 0 60 "0.4 aligned"
|
|
23 |
translate 0.1 80.1
|
|
24 |
repeat_block draw
|
|
25 |
drawText 0 60 "0.5 aligned"
|
|
26 |
translate 0.1 80.1
|
|
27 |
repeat_block draw
|
|
28 |
drawText 0 60 "0.6 aligned"
|
|
29 |
translate 0.1 80.1
|
|
30 |
repeat_block draw
|
|
31 |
drawText 0 60 "0.7 aligned"
|
|
32 |
translate 0.1 80.1
|
|
33 |
repeat_block draw
|
|
34 |
drawText 0 60 "0.8 aligned"
|
|
35 |
translate 0.1 80.1
|
|
36 |
repeat_block draw
|
|
37 |
drawText 0 60 "0.9 aligned"
|
|
38 |
|
|
39 |
resetMatrix
|
|
40 |
translate 100 0
|
|
41 |
setPen black
|
|
42 |
drawText 0 20 "Line and text, 0.0 aligned"
|
|
43 |
drawLine 0 21 160 21
|
|
44 |
translate 0 40.1
|
|
45 |
drawText 0 20 "Line and text, 0.1 aligned"
|
|
46 |
drawLine 0 21 160 21
|
|
47 |
translate 0 40.1
|
|
48 |
drawText 0 20 "Line and text, 0.2 aligned"
|
|
49 |
drawLine 0 21 160 21
|
|
50 |
translate 0 40.1
|
|
51 |
drawText 0 20 "Line and text, 0.3 aligned"
|
|
52 |
drawLine 0 21 160 21
|
|
53 |
translate 0 40.1
|
|
54 |
drawText 0 20 "Line and text, 0.4 aligned"
|
|
55 |
drawLine 0 21 160 21
|
|
56 |
translate 0 40.1
|
|
57 |
drawText 0 20 "Line and text, 0.5 aligned"
|
|
58 |
drawLine 0 21 160 21
|
|
59 |
translate 0 40.1
|
|
60 |
drawText 0 20 "Line and text, 0.6 aligned"
|
|
61 |
drawLine 0 21 160 21
|
|
62 |
translate 0 40.1
|
|
63 |
drawText 0 20 "Line and text, 0.7 aligned"
|
|
64 |
drawLine 0 21 160 21
|
|
65 |
translate 0 40.1
|
|
66 |
drawText 0 20 "Line and text, 0.8 aligned"
|
|
67 |
drawLine 0 21 160 21
|
|
68 |
translate 0 40.1
|
|
69 |
drawText 0 20 "Line and text, 0.9 aligned"
|
|
70 |
drawLine 0 21 160 21
|