0
|
1 |
begin_block drawtexts
|
|
2 |
setPen red
|
|
3 |
drawLine 0 20 width 20
|
|
4 |
setPen blue
|
|
5 |
|
|
6 |
setFont "times" 12
|
|
7 |
drawText 0 20 "(times)"
|
|
8 |
|
|
9 |
setFont "times" 12 bold
|
|
10 |
drawText 100 20 "(times, 12, bold)"
|
|
11 |
|
|
12 |
setFont "times" 12 normal italic
|
|
13 |
drawText 250 20 "(times, 12, italic)"
|
|
14 |
|
|
15 |
setFont "times" 12 bold italic
|
|
16 |
drawText 400 20 "(times, 12, bold, italic)"
|
|
17 |
|
|
18 |
translate 0 20
|
|
19 |
|
|
20 |
setPen red
|
|
21 |
drawLine 0 20 width 20
|
|
22 |
setPen green
|
|
23 |
|
|
24 |
setFont "helvetica" 12
|
|
25 |
drawText 0 20 "(helvetica)"
|
|
26 |
|
|
27 |
setFont "helvetica" 12 bold
|
|
28 |
drawText 100 20 "(helvetica, 12, bold)"
|
|
29 |
|
|
30 |
setFont "helvetica" 12 normal italic
|
|
31 |
drawText 250 20 "(helvetica, 12, italic)"
|
|
32 |
|
|
33 |
setFont "helvetica" 12 bold italic
|
|
34 |
drawText 400 20 "(helvetica, 12, bold, italic)"
|
|
35 |
|
|
36 |
translate 0 20
|
|
37 |
|
|
38 |
setPen red
|
|
39 |
drawLine 0 20 width 20
|
|
40 |
setPen orange
|
|
41 |
|
|
42 |
setFont "courier" 12
|
|
43 |
drawText 0 20 "(courier)"
|
|
44 |
|
|
45 |
setFont "courier" 12 bold
|
|
46 |
drawText 100 20 "(courier, 12, b)"
|
|
47 |
|
|
48 |
setFont "courier" 12 normal italic
|
|
49 |
drawText 250 20 "(courier, 12, i)"
|
|
50 |
|
|
51 |
setFont "courier" 12 bold italic
|
|
52 |
drawText 400 20 "(courier, 12, bi)"
|
|
53 |
end_block
|
|
54 |
|
|
55 |
# Repeat with scale
|
|
56 |
translate 0 100
|
|
57 |
scale 1 2
|
|
58 |
repeat_block drawtexts
|
|
59 |
|
|
60 |
# Repeat with rotation
|
|
61 |
resetMatrix
|
|
62 |
translate 100 300
|
|
63 |
rotate 20
|
|
64 |
repeat_block drawtexts
|