Debian Codegraph @

testsuite/svg/renderer/clip3.node

raw
1 mask {
2 source: rounded-clip {
3 clip: 5 30 40 40 / 20;
4 child: color {
5 bounds: 5 30 40 40;
6 color: rgb(255,0,0);
7 }
8 }
9 mask: transform {
10 transform: translate(0, 25) scale(0.5);
11 child: fill {
12 child: color {
13 bounds: 10 10 50 50;
14 color: rgb(0,0,0);
15 }
16 path: "\
17 M 10 10\
18 L 60 10\
19 L 60 60\
20 L 10 60\
21 Z\
22 M 30 30\
23 L 40 30\
24 L 40 40\
25 L 30 40\
26 Z";
27 fill-rule: even-odd;
28 }
29 }
30 }
31 transform {
32 transform: translate(0, 25) scale(0.5) translate(80, 0);
33 child: container {
34 fill {
35 child: color {
36 bounds: 10 10 50 50;
37 color: rgb(0,0,0);
38 }
39 path: "\
40 M 10 10\
41 L 60 10\
42 L 60 60\
43 L 10 60\
44 Z\
45 M 30 30\
46 L 40 30\
47 L 40 40\
48 L 30 40\
49 Z";
50 fill-rule: even-odd;
51 }
52 stroke {
53 child: color {
54 bounds: 6 6 58 58;
55 color: rgb(0,0,0);
56 }
57 path: "\
58 M 10 10\
59 L 60 10\
60 L 60 60\
61 L 10 60\
62 Z\
63 M 30 30\
64 L 40 30\
65 L 40 40\
66 L 30 40\
67 Z";
68 line-width: 1;
69 line-cap: butt;
70 line-join: miter;
71 }
72 }
73 }
74 mask {
75 source: rounded-clip {
76 clip: 5 70 40 40 / 20;
77 child: color {
78 bounds: 5 70 40 40;
79 color: rgb(255,0,0);
80 }
81 }
82 mask: transform {
83 transform: translate(0, 25) scale(0.5) translate(0, 80);
84 child: fill {
85 child: color {
86 bounds: 10 10 50 50;
87 color: rgb(0,0,0);
88 }
89 path: "\
90 M 10 10\
91 L 60 10\
92 L 60 60\
93 L 10 60\
94 Z\
95 M 30 30\
96 L 40 30\
97 L 40 40\
98 L 30 40\
99 Z";
100 fill-rule: winding;
101 }
102 }
103 }
104 transform {
105 transform: translate(0, 25) scale(0.5) translate(80, 80);
106 child: container {
107 fill {
108 child: color {
109 bounds: 10 10 50 50;
110 color: rgb(0,0,0);
111 }
112 path: "\
113 M 10 10\
114 L 60 10\
115 L 60 60\
116 L 10 60\
117 Z\
118 M 30 30\
119 L 40 30\
120 L 40 40\
121 L 30 40\
122 Z";
123 fill-rule: winding;
124 }
125 stroke {
126 child: color {
127 bounds: 6 6 58 58;
128 color: rgb(0,0,0);
129 }
130 path: "\
131 M 10 10\
132 L 60 10\
133 L 60 60\
134 L 10 60\
135 Z\
136 M 30 30\
137 L 40 30\
138 L 40 40\
139 L 30 40\
140 Z";
141 line-width: 1;
142 line-cap: butt;
143 line-join: miter;
144 }
145 }
146 }