Debian Codegraph @

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

raw
1 # Version: 1
2
3 setPen black 1
4 setBrush 7f7fff
5
6 setFont "arial" 12
7 drawText 10 330 "Non-Cosmetic"
8 drawText 10 730 "Cosmetic"
9
10 path_moveTo star 50 0
11 path_lineTo star 30 90
12 path_lineTo star 100 60
13 path_lineTo star 0 20
14 path_lineTo star 80 100
15
16 setFont "times" 50
17 path_addText text 0 50 "ABCD, 1234, abcd, #ยค%&"
18
19 path_addRect rectncircle 0 0 75 75
20 path_addEllipse rectncircle 25 25 75 75
21 path_setFillRule rectncircle winding
22
23 path_moveTo curve 100 0
24 path_cubicTo curve 100 100 50 50 0 100
25
26 begin_block drawing
27 drawPath star
28 translate 100 0
29 drawPath rectncircle
30 translate 100 0
31 drawPath curve
32 translate -200 100
33 drawPath text
34 end_block
35
36 begin_block xform
37 save
38 translate 50 60
39 rotate 10
40 scale 1.0 0.7
41 repeat_block drawing
42 restore
43 end_block xform
44
45 setPen black 0
46 setBrush ff7f7f
47 translate 0 300
48 repeat_block drawing
49 repeat_block xform