Debian Codegraph @

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

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