equal
deleted
inserted
replaced
|
1 path_addEllipse path 22 0 7 7 |
|
2 path_addRect path 25 5 4 4 |
|
3 |
|
4 translate 20 20 |
|
5 |
|
6 begin_block lines |
|
7 save |
|
8 drawLine 0 0 10 10 |
|
9 drawLine 2 0 10 0 |
|
10 drawLine 0 2 0 10 |
|
11 drawPolygon [12 0 20 0 15 10] |
|
12 drawPath path |
|
13 drawEllipse 32 0 8 8 |
|
14 drawPoint 36 4 |
|
15 |
|
16 translate 100 0 |
|
17 save |
|
18 scale 4 1 |
|
19 drawLine 0 0 10 10 |
|
20 drawLine 2 0 10 0 |
|
21 drawLine 0 2 0 10 |
|
22 drawPolygon [12 0 20 0 15 10] |
|
23 drawPath path |
|
24 drawEllipse 32 0 8 8 |
|
25 drawPoint 36 4 |
|
26 restore |
|
27 |
|
28 translate 200 0 |
|
29 save |
|
30 scale 1 4 |
|
31 drawLine 0 0 10 10 |
|
32 drawLine 2 0 10 0 |
|
33 drawLine 0 2 0 10 |
|
34 drawPolygon [12 0 20 0 15 10] |
|
35 drawPath path |
|
36 drawEllipse 32 0 8 8 |
|
37 drawPoint 36 4 |
|
38 restore |
|
39 |
|
40 translate 100 0 |
|
41 save |
|
42 scale 4 4 |
|
43 drawLine 0 0 10 10 |
|
44 drawLine 2 0 10 0 |
|
45 drawLine 0 2 0 10 |
|
46 drawPolygon [12 0 20 0 15 10] |
|
47 drawPath path |
|
48 drawEllipse 32 0 8 8 |
|
49 drawPoint 36 4 |
|
50 restore |
|
51 restore |
|
52 end_block |
|
53 |
|
54 drawText 580 15 "non-cosmetic, 0-width" |
|
55 translate 0 50 |
|
56 |
|
57 setPen black 2 |
|
58 repeat_block lines |
|
59 drawText 580 15 "non-cosmetic, 2-width" |
|
60 |
|
61 translate 0 20 |
|
62 translate 0 50 |
|
63 setPen black 0 |
|
64 pen_setCosmetic true |
|
65 repeat_block lines |
|
66 drawText 580 15 "cosmetic, 0-width" |
|
67 |
|
68 translate 0 50 |
|
69 setPen black 2 |
|
70 pen_setCosmetic true |
|
71 repeat_block lines |
|
72 drawText 580 15 "cosmetic, 2-width" |
|
73 |
|
74 |
|
75 setRenderHint Antialiasing |
|
76 translate 0 20 |
|
77 |
|
78 translate 0 50 |
|
79 setPen black 0 |
|
80 repeat_block lines |
|
81 drawText 580 15 "non-cosmetic, 0-width" |
|
82 |
|
83 translate 0 50 |
|
84 |
|
85 setPen black 2 |
|
86 repeat_block lines |
|
87 drawText 580 15 "non-cosmetic, 2-width" |
|
88 |
|
89 translate 0 20 |
|
90 translate 0 50 |
|
91 setPen black 0 |
|
92 pen_setCosmetic true |
|
93 repeat_block lines |
|
94 drawText 580 15 "cosmetic, 0-width" |
|
95 |
|
96 translate 0 50 |
|
97 setPen black 2 |
|
98 pen_setCosmetic true |
|
99 repeat_block lines |
|
100 drawText 580 15 "cosmetic, 2-width" |
|
101 |
|
102 |
|
103 translate 0 70 |
|
104 drawText 0 0 "scale(1, 1)" |
|
105 drawText 150 0 "scale(4, 1)" |
|
106 drawText 300 0 "scale(1, 4)" |
|
107 drawText 450 0 "scale(4, 4)" |