Debian Codegraph @

testsuite/svg/renderer/clip5.node

raw
1 clip {
2 clip: 4.16667 27.0833 43.75 43.75;
3 child: color {
4 bounds: 4.16667 27.0833 43.75 43.75;
5 color: rgb(255,0,0);
6 }
7 }
8 transform {
9 transform: translate(0, 12.5) scale(0.208333);
10 child: container {
11 stroke {
12 child: color {
13 bounds: 18 68 214 214;
14 color: rgb(0,0,0);
15 }
16 path: "\
17 M 20 70 h 210 v 210 h -210 z";
18 line-width: 4;
19 line-cap: butt;
20 line-join: miter;
21 }
22 color {
23 bounds: 250 70 210 210;
24 color: rgb(255,0,0);
25 }
26 stroke {
27 child: color {
28 bounds: 248 68 214 214;
29 color: rgb(0,0,0);
30 }
31 path: "\
32 M 250 70 h 210 v 210 h -210 z";
33 line-width: 4;
34 line-cap: butt;
35 line-join: miter;
36 }
37 transform {
38 transform: translate(20, 70);
39 child: fill {
40 child: color {
41 bounds: 10 10 100 100;
42 color: rgb(255,0,0);
43 }
44 path: "\
45 M 10 10\
46 L 110 10\
47 L 110 110\
48 L 10 110\
49 Z\
50 M 50 50\
51 L 90 50\
52 L 90 90\
53 L 50 90\
54 Z";
55 fill-rule: even-odd;
56 }
57 }
58 rounded-clip {
59 clip: 70 120 100 100 / 50;
60 child: rounded-clip {
61 clip: 120 170 100 100 / 50;
62 child: color {
63 bounds: 120 170 100 100;
64 color: rgb(255,0,0);
65 }
66 }
67 }
68 rounded-clip {
69 clip: 120 170 100 100 / 50;
70 child: rounded-clip {
71 clip: 70 120 100 100 / 50;
72 child: color {
73 bounds: 70 120 100 100;
74 color: rgb(255,0,0);
75 }
76 }
77 }
78 mask {
79 source: color {
80 bounds: 20 70 200 200;
81 color: rgb(0,0,255);
82 }
83 mask: container {
84 rounded-clip {
85 clip: 70 120 100 100 / 50;
86 child: transform {
87 transform: translate(20, 70);
88 child: fill {
89 child: color {
90 bounds: 100 100 100 100;
91 color: rgb(0,0,0);
92 }
93 path: "\
94 M 200 150 o 0 50, -50 50, 0.707106769 o -50 0, -50 -50, 0.707106769 o 0 -50, 50 -50, 0.707106769 o 50 0, 50 50, 0.707106769 z";
95 fill-rule: winding;
96 }
97 }
98 }
99 transform {
100 transform: translate(20, 70);
101 child: fill {
102 child: color {
103 bounds: 10 10 100 100;
104 color: rgb(0,0,0);
105 }
106 path: "\
107 M 10 10\
108 L 110 10\
109 L 110 110\
110 L 10 110\
111 Z\
112 M 50 50\
113 L 90 50\
114 L 90 90\
115 L 50 90\
116 Z";
117 fill-rule: even-odd;
118 }
119 }
120 }
121 }
122 rounded-clip {
123 clip: 70 120 100 100 / 50;
124 child: transform {
125 transform: translate(20, 70);
126 child: stroke {
127 child: color {
128 bounds: 99 99 101.5 102;
129 color: rgb(0,0,0);
130 }
131 path: "\
132 M 200 150 o 0 50, -50 50, 0.707106769 o -50 0, -50 -50, 0.707106769 o 0 -50, 50 -50, 0.707106769 o 50 0, 50 50, 0.707106769 z";
133 line-width: 1;
134 line-cap: butt;
135 line-join: miter;
136 }
137 }
138 }
139 rounded-clip {
140 clip: 120 170 100 100 / 50;
141 child: transform {
142 transform: translate(20, 70);
143 child: stroke {
144 child: color {
145 bounds: 49 49 101.5 102;
146 color: rgb(0,0,0);
147 }
148 path: "\
149 M 150 100 o 0 50, -50 50, 0.707106769 o -50 0, -50 -50, 0.707106769 o 0 -50, 50 -50, 0.707106769 o 50 0, 50 50, 0.707106769 z";
150 line-width: 1;
151 line-cap: butt;
152 line-join: miter;
153 }
154 }
155 }
156 transform {
157 transform: translate(20, 70);
158 child: stroke {
159 child: color {
160 bounds: 6 6 108 108;
161 color: rgb(0,0,0);
162 }
163 path: "\
164 M 10 10\
165 L 110 10\
166 L 110 110\
167 L 10 110\
168 Z\
169 M 50 50\
170 L 90 50\
171 L 90 90\
172 L 50 90\
173 Z";
174 line-width: 1;
175 line-cap: butt;
176 line-join: miter;
177 }
178 }
179 rounded-clip {
180 clip: 300 120 100 100 / 50;
181 child: container {
182 rounded-clip {
183 clip: 350 170 100 100 / 50;
184 child: color {
185 bounds: 350 170 100 100;
186 color: rgb(255,0,0);
187 }
188 }
189 transform {
190 transform: translate(250, 70);
191 child: fill {
192 child: color {
193 bounds: 10 10 100 100;
194 color: rgb(255,0,0);
195 }
196 path: "\
197 M 10 10\
198 L 110 10\
199 L 110 110\
200 L 10 110\
201 Z\
202 M 50 50\
203 L 90 50\
204 L 90 90\
205 L 50 90\
206 Z";
207 fill-rule: even-odd;
208 }
209 }
210 }
211 }
212 mask {
213 source: color {
214 bounds: 250 70 300 300;
215 color: rgb(0,0,255);
216 }
217 mask: rounded-clip {
218 clip: 300 120 100 100 / 50;
219 child: container {
220 transform {
221 transform: translate(250, 70);
222 child: fill {
223 child: color {
224 bounds: 100 100 100 100;
225 color: rgb(0,0,0);
226 }
227 path: "\
228 M 200 150 o 0 50, -50 50, 0.707106769 o -50 0, -50 -50, 0.707106769 o 0 -50, 50 -50, 0.707106769 o 50 0, 50 50, 0.707106769 z";
229 fill-rule: winding;
230 }
231 }
232 transform {
233 transform: translate(250, 70);
234 child: fill {
235 child: color {
236 bounds: 10 10 100 100;
237 color: rgb(0,0,0);
238 }
239 path: "\
240 M 10 10\
241 L 110 10\
242 L 110 110\
243 L 10 110\
244 Z\
245 M 50 50\
246 L 90 50\
247 L 90 90\
248 L 50 90\
249 Z";
250 fill-rule: even-odd;
251 }
252 }
253 }
254 }
255 }
256 transform {
257 transform: translate(250, 70);
258 child: stroke {
259 child: color {
260 bounds: 49 49 101.5 102;
261 color: rgb(0,0,0);
262 }
263 path: "\
264 M 150 100 o 0 50, -50 50, 0.707106769 o -50 0, -50 -50, 0.707106769 o 0 -50, 50 -50, 0.707106769 o 50 0, 50 50, 0.707106769 z";
265 line-width: 1;
266 line-cap: butt;
267 line-join: miter;
268 }
269 }
270 stroke {
271 child: color {
272 bounds: 0.5 0.5 479 359;
273 color: rgb(0,0,0);
274 }
275 path: "\
276 M 1 1 h 478 v 358 h -478 z";
277 line-width: 1;
278 line-cap: butt;
279 line-join: miter;
280 }
281 }
282 }