Debian Codegraph @

samples/tests/spec/structure/symbolViewBoxClip.svg

raw
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
3 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
5 <!--
6
7 Licensed to the Apache Software Foundation (ASF) under one or more
8 contributor license agreements. See the NOTICE file distributed with
9 this work for additional information regarding copyright ownership.
10 The ASF licenses this file to You under the Apache License, Version 2.0
11 (the "License"); you may not use this file except in compliance with
12 the License. You may obtain a copy of the License at
13
14 http://www.apache.org/licenses/LICENSE-2.0
15
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
21
22 -->
23 <!-- ========================================================================= -->
24 <!-- This example validates the handling of viewBox and preserveAspectRatio -->
25 <!-- for <symbol> elements with overflow set to hidden and a clip specified. -->
26 <!-- <symbol> elements establish a new viewport and therefore, the overflow -->
27 <!-- property applies. -->
28 <!-- -->
29 <!-- @author [email protected] -->
30 <!-- @version $Id$ -->
31 <!-- ========================================================================= -->
32 <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
33
34 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="body" width="450" height="500" viewBox="0 0 450 500">
35 <title>&lt;symbol&gt; and viewBox &amp; preserveAspectRatio</title>
36
37 <style type="text/css"><![CDATA[
38 .label { text-anchor: middle; }
39 .oddRow { fill:white; stroke:black; }
40 .evenRow { fill:#eeeeee; stroke:black; }
41 ]]></style>
42
43 <g id="content">
44
45 <text class="title" x="50%" y="30">viewBox &amp; preserveAspectRatio on &lt;symbol&gt;
46 <title>viewBox &amp; preserveAspectRatio on &lt;symbol&gt;</title>
47 <desc>This test validates the processing of viewBox and preserveAspectRatio
48 on &lt;symbol&gt; elements in conjunction with the overflow property.
49 In this test, there should be a clipping beyond the viewBox boundaries
50 and the smilley&apos;s ears and feet should show partially.</desc></text>
51 <text class="title" x="50%" y="50">clip set to rect(5,4,3,2)</text>
52
53 <g id="table" class="label" transform="translate(80, 60)">
54 <rect width="110" height="20" class="oddRow" />
55 <text x="55" y="15">meet</text>
56 <rect width="110" height="20" class="oddRow" transform="translate(110,0)"/>
57 <text x="55" y="15" transform="translate(110, 0)">slice</text>
58 <rect width="110" height="20" class="oddRow" transform="translate(220,0)"/>
59 <text x="55" y="15" transform="translate(220, 0)">unspecified</text>
60
61 <g id="yMXX">
62 <rect x="-20" y="20" width="20" height="40" class="oddRow" />
63 <text x="-5" y="40" transform="rotate(-90,-5,40)">yMin</text>
64
65 <g transform="translate(0,40)">
66 <rect x="-20" y="20" width="20" height="40" class="evenRow" />
67 <text x="-5" y="40" transform="rotate(-90,-5,40)">yMid</text>
68 </g>
69
70 <g transform="translate(0,80)">
71 <rect x="-20" y="20" width="20" height="40" class="oddRow" />
72 <text x="-5" y="40" transform="rotate(-90,-5,40)">yMax</text>
73 </g>
74 </g>
75
76
77 <g transform="translate(0,120)">
78 <rect x="-20" y="20" width="20" height="40" class="oddRow" />
79 <text x="-5" y="40" transform="rotate(-90,-5,40)">yMin</text>
80
81 <g transform="translate(0,40)">
82 <rect x="-20" y="20" width="20" height="40" class="evenRow" />
83 <text x="-5" y="40" transform="rotate(-90,-5,40)">yMid</text>
84 </g>
85
86 <g transform="translate(0,80)">
87 <rect x="-20" y="20" width="20" height="40" class="oddRow" />
88 <text x="-5" y="40" transform="rotate(-90,-5,40)">yMax</text>
89 </g>
90 </g>
91
92 <g transform="translate(0,240)">
93 <rect x="-20" y="20" width="20" height="40" class="oddRow" />
94 <text x="-5" y="40" transform="rotate(-90,-5,40)">yMin</text>
95
96 <g transform="translate(0,40)">
97 <rect x="-20" y="20" width="20" height="40" class="evenRow" />
98 <text x="-5" y="40" transform="rotate(-90,-5,40)">yMid</text>
99 </g>
100
101 <g transform="translate(0,80)">
102 <rect x="-20" y="20" width="20" height="40" class="oddRow" />
103 <text x="-5" y="40" transform="rotate(-90,-5,40)">yMax</text>
104 </g>
105 </g>
106
107 <rect x="-40" y="20" width="20" height="120" class="evenRow" />
108 <text x="-25" y="80" transform="rotate(-90,-25,80)">xMin</text>
109
110 <g transform="translate(0,120)">
111 <rect x="-40" y="20" width="20" height="120" class="oddRow" />
112 <text x="-25" y="80" transform="rotate(-90,-25,80)">xMid</text>
113 </g>
114
115 <g transform="translate(0,240)">
116 <rect x="-40" y="20" width="20" height="120" class="evenRow" />
117 <text x="-25" y="80" transform="rotate(-90,-25,80)">xMax</text>
118 </g>
119
120 <defs>
121 <g id="row">
122 <rect width="110" height="40" transform="translate(0 ,20)"/>
123 <rect width="110" height="40" transform="translate(110,20)"/>
124 <rect width="110" height="40" transform="translate(220,20)"/>
125 </g>
126 </defs>
127
128 <g id="evenRowBlock">
129 <use xlink:href="#row" class="evenRow" transform="translate(0,0)"/>
130 <use xlink:href="#row" class="oddRow" transform="translate(0,40)"/>
131 <use xlink:href="#row" class="evenRow" transform="translate(0,80)"/>
132 </g>
133
134 <g id="oddRowBlock" transform="translate(0,120)">
135 <use xlink:href="#row" class="oddRow" transform="translate(0,0)"/>
136 <use xlink:href="#row" class="evenRow" transform="translate(0,40)"/>
137 <use xlink:href="#row" class="oddRow" transform="translate(0,80)"/>
138 </g>
139
140 <use xlink:href="#evenRowBlock" transform="translate(0,240)"/>
141
142 <rect x="-40" y="380" width="40" height="40" fill="white" stroke="black" />
143 <text x="-15" y="400" transform="rotate(-90, -15, 400)">none</text>
144 <use xlink:href="#row" class="oddRow" transform="translate(0,360)" />
145
146 <line x1="55" y1="20" x2="55" y2="420" stroke="black" />
147 <line x1="165" y1="20" x2="165" y2="420" stroke="black" />
148 <line x1="275" y1="20" x2="275" y2="420" stroke="black" />
149 </g>
150
151 <g id="testCases" transform="translate(80, 80)">
152 <defs>
153 <rect id="hViewBox" x="12.5" y="7.5" width="30" height="25" stroke="red" fill="none"/>
154 <rect id="vViewBox" x="72.5" y="7.5" width="20" height="25" stroke="red" fill="none"/>
155 <rect id="hClipBox" x="14.5" y="12.5" width="24" height="17" stroke="#0A0" fill="none"/>
156 <rect id="vClipBox" x="74.5" y="12.5" width="14" height="17" stroke="#0A0" fill="none"/>
157 <g id="smilley">
158 <g transform="translate(-15,-15)" >
159 <circle cx="10" cy="25" r="4" fill="crimson" />
160 <circle cx="20" cy="25" r="4" fill="crimson" />
161 <circle cx="7" cy="15" r="4" fill="crimson" />
162 <circle cx="23" cy="15" r="4" fill="crimson" />
163 <circle cx="15" cy="15" r="10" fill="yellow"/>
164 <circle cx="12" cy="12" r="1.5" fill="black"/>
165 <circle cx="17" cy="12" r="1.5" fill="black"/>
166 <path d="M 10 19 A 8 8 0 0 0 20 19" stroke="black" stroke-width="1" fill="none"/>
167 </g>
168 </g>
169 </defs>
170
171 <!-- xMinYXXX XXX -->
172 <g>
173 <!-- ... YMin XXX -->
174 <g>
175 <g>
176 <symbol id="xMinYMinMeet" overflow="hidden" viewBox="-10 -10 20 20" clip="rect(5,4,3,2)" preserveAspectRatio="xMinYMin meet">
177 <use xlink:href="#smilley" />
178 </symbol>
179 <use xlink:href="#xMinYMinMeet" x="12.5" y="7.5" width="30" height="25" />
180 <use xlink:href="#hViewBox" />
181 <use xlink:href="#hClipBox" />
182
183 <use xlink:href="#xMinYMinMeet" x="72.5" y="7.5" width="20" height="25" />
184 <use xlink:href="#vViewBox" />
185 <use xlink:href="#vClipBox" />
186 </g>
187
188 <g transform="translate(110, 0)">
189 <symbol id="xMinYMinSlice" overflow="hidden" viewBox="-10 -10 20 20" preserveAspectRatio="xMinYMin slice">
190 <use xlink:href="#smilley" />
191 </symbol>
192 <use xlink:href="#xMinYMinSlice" x="12.5" y="7.5" width="30" height="25" />
193 <use xlink:href="#hViewBox" />
194 <use xlink:href="#hClipBox" />
195
196
197 <use xlink:href="#xMinYMinSlice" x="72.5" y="7.5" width="20" height="25" />
198 <use xlink:href="#vViewBox" />
199 <use xlink:href="#vClipBox" />
200 </g>
201
202 <g transform="translate(220, 0)">
203 <symbol id="xMinYMinUnspecified" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMinYMin">
204 <use xlink:href="#smilley" />
205 </symbol>
206 <use xlink:href="#xMinYMinUnspecified" x="12.5" y="7.5" width="30" height="25" />
207 <use xlink:href="#hViewBox" />
208 <use xlink:href="#hClipBox" />
209
210
211 <use xlink:href="#xMinYMinUnspecified" x="72.5" y="7.5" width="20" height="25" />
212 <use xlink:href="#vViewBox" />
213 <use xlink:href="#vClipBox" />
214 </g>
215 </g>
216
217 <!-- ... YMid XXX -->
218 <g transform="translate(0, 40)">
219 <g>
220 <symbol id="xMinYMidMeet" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMinYMid meet">
221 <use xlink:href="#smilley" />
222 </symbol>
223 <use xlink:href="#xMinYMidMeet" x="12.5" y="7.5" width="30" height="25" />
224 <use xlink:href="#hViewBox" />
225 <use xlink:href="#hClipBox" />
226
227
228 <use xlink:href="#xMinYMidMeet" x="72.5" y="7.5" width="20" height="25" />
229 <use xlink:href="#vViewBox" />
230 <use xlink:href="#vClipBox" />
231 </g>
232
233 <g transform="translate(110, 0)">
234 <symbol id="xMinYMidSlice" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMinYMid slice">
235 <use xlink:href="#smilley" />
236 </symbol>
237 <use xlink:href="#xMinYMidSlice" x="12.5" y="7.5" width="30" height="25" />
238 <use xlink:href="#hViewBox" />
239 <use xlink:href="#hClipBox" />
240
241
242 <use xlink:href="#xMinYMidSlice" x="72.5" y="7.5" width="20" height="25" />
243 <use xlink:href="#vViewBox" />
244 <use xlink:href="#vClipBox" />
245 </g>
246
247 <g transform="translate(220, 0)">
248 <symbol id="xMinYMidUnspecified" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMinYMid">
249 <use xlink:href="#smilley" />
250 </symbol>
251 <use xlink:href="#xMinYMidUnspecified" x="12.5" y="7.5" width="30" height="25" />
252 <use xlink:href="#hViewBox" />
253 <use xlink:href="#hClipBox" />
254
255
256 <use xlink:href="#xMinYMidUnspecified" x="72.5" y="7.5" width="20" height="25" />
257 <use xlink:href="#vViewBox" />
258 <use xlink:href="#vClipBox" />
259 </g>
260 </g>
261
262 <!-- ... YMax XXX -->
263 <g transform="translate(0, 80)">
264 <g>
265 <symbol id="xMinYMaxMeet" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMinYMax meet">
266 <use xlink:href="#smilley" />
267 </symbol>
268 <use xlink:href="#xMinYMaxMeet" x="12.5" y="7.5" width="30" height="25" />
269 <use xlink:href="#hViewBox" />
270 <use xlink:href="#hClipBox" />
271
272
273 <use xlink:href="#xMinYMaxMeet" x="72.5" y="7.5" width="20" height="25" />
274 <use xlink:href="#vViewBox" />
275 <use xlink:href="#vClipBox" />
276 </g>
277
278 <g transform="translate(110, 0)">
279 <symbol id="xMinYMaxSlice" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMinYMax slice">
280 <use xlink:href="#smilley" />
281 </symbol>
282 <use xlink:href="#xMinYMaxSlice" x="12.5" y="7.5" width="30" height="25" />
283 <use xlink:href="#hViewBox" />
284 <use xlink:href="#hClipBox" />
285
286
287 <use xlink:href="#xMinYMaxSlice" x="72.5" y="7.5" width="20" height="25" />
288 <use xlink:href="#vViewBox" />
289 <use xlink:href="#vClipBox" />
290 </g>
291
292 <g transform="translate(220, 0)">
293 <symbol id="xMinYMaxUnspecified" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMinYMax">
294 <use xlink:href="#smilley" />
295 </symbol>
296 <use xlink:href="#xMinYMaxUnspecified" x="12.5" y="7.5" width="30" height="25" />
297 <use xlink:href="#hViewBox" />
298 <use xlink:href="#hClipBox" />
299
300
301 <use xlink:href="#xMinYMaxUnspecified" x="72.5" y="7.5" width="20" height="25" />
302 <use xlink:href="#vViewBox" />
303 <use xlink:href="#vClipBox" />
304 </g>
305 </g>
306 </g>
307
308
309 <!-- xMidYXXX XXX -->
310 <g transform="translate(0, 120)">
311 <!-- ... YMin XXX -->
312 <g>
313 <g>
314 <symbol id="xMidYMinMeet" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMidYMin meet">
315 <use xlink:href="#smilley" />
316 </symbol>
317 <use xlink:href="#xMidYMinMeet" x="12.5" y="7.5" width="30" height="25" />
318 <use xlink:href="#hViewBox" />
319 <use xlink:href="#hClipBox" />
320
321
322 <use xlink:href="#xMidYMinMeet" x="72.5" y="7.5" width="20" height="25" />
323 <use xlink:href="#vViewBox" />
324 <use xlink:href="#vClipBox" />
325 </g>
326
327 <g transform="translate(110, 0)">
328 <symbol id="xMidYMinSlice" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMidYMin slice">
329 <use xlink:href="#smilley" />
330 </symbol>
331 <use xlink:href="#xMidYMinSlice" x="12.5" y="7.5" width="30" height="25" />
332 <use xlink:href="#hViewBox" />
333 <use xlink:href="#hClipBox" />
334
335
336 <use xlink:href="#xMidYMinSlice" x="72.5" y="7.5" width="20" height="25" />
337 <use xlink:href="#vViewBox" />
338 <use xlink:href="#vClipBox" />
339 </g>
340
341 <g transform="translate(220, 0)">
342 <symbol id="xMidYMinUnspecified" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMidYMin">
343 <use xlink:href="#smilley" />
344 </symbol>
345 <use xlink:href="#xMidYMinUnspecified" x="12.5" y="7.5" width="30" height="25" />
346 <use xlink:href="#hViewBox" />
347 <use xlink:href="#hClipBox" />
348
349
350 <use xlink:href="#xMidYMinUnspecified" x="72.5" y="7.5" width="20" height="25" />
351 <use xlink:href="#vViewBox" />
352 <use xlink:href="#vClipBox" />
353 </g>
354 </g>
355
356 <!-- ... YMid XXX -->
357 <g transform="translate(0, 40)">
358 <g>
359 <symbol id="xMidYMidMeet" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMidYMid meet">
360 <use xlink:href="#smilley" />
361 </symbol>
362 <use xlink:href="#xMidYMidMeet" x="12.5" y="7.5" width="30" height="25" />
363 <use xlink:href="#hViewBox" />
364 <use xlink:href="#hClipBox" />
365
366
367 <use xlink:href="#xMidYMidMeet" x="72.5" y="7.5" width="20" height="25" />
368 <use xlink:href="#vViewBox" />
369 <use xlink:href="#vClipBox" />
370 </g>
371
372 <g transform="translate(110, 0)">
373 <symbol id="xMidYMidSlice" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMidYMid slice">
374 <use xlink:href="#smilley" />
375 </symbol>
376 <use xlink:href="#xMidYMidSlice" x="12.5" y="7.5" width="30" height="25" />
377 <use xlink:href="#hViewBox" />
378 <use xlink:href="#hClipBox" />
379
380
381 <use xlink:href="#xMidYMidSlice" x="72.5" y="7.5" width="20" height="25" />
382 <use xlink:href="#vViewBox" />
383 <use xlink:href="#vClipBox" />
384 </g>
385
386 <g transform="translate(220, 0)">
387 <symbol id="xMidYMidUnspecified" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMidYMid">
388 <use xlink:href="#smilley" />
389 </symbol>
390 <use xlink:href="#xMidYMidUnspecified" x="12.5" y="7.5" width="30" height="25" />
391 <use xlink:href="#hViewBox" />
392 <use xlink:href="#hClipBox" />
393
394
395 <use xlink:href="#xMidYMidUnspecified" x="72.5" y="7.5" width="20" height="25" />
396 <use xlink:href="#vViewBox" />
397 <use xlink:href="#vClipBox" />
398 </g>
399 </g>
400
401 <!-- ... YMax XXX -->
402 <g transform="translate(0, 80)">
403 <g>
404 <symbol id="xMidYMaxMeet" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMidYMax meet">
405 <use xlink:href="#smilley" />
406 </symbol>
407 <use xlink:href="#xMidYMaxMeet" x="12.5" y="7.5" width="30" height="25" />
408 <use xlink:href="#hViewBox" />
409 <use xlink:href="#hClipBox" />
410
411
412 <use xlink:href="#xMidYMaxMeet" x="72.5" y="7.5" width="20" height="25" />
413 <use xlink:href="#vViewBox" />
414 <use xlink:href="#vClipBox" />
415 </g>
416
417 <g transform="translate(110, 0)">
418 <symbol id="xMidYMaxSlice" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMidYMax slice">
419 <use xlink:href="#smilley" />
420 </symbol>
421 <use xlink:href="#xMidYMaxSlice" x="12.5" y="7.5" width="30" height="25" />
422 <use xlink:href="#hViewBox" />
423 <use xlink:href="#hClipBox" />
424
425
426 <use xlink:href="#xMidYMaxSlice" x="72.5" y="7.5" width="20" height="25" />
427 <use xlink:href="#vViewBox" />
428 <use xlink:href="#vClipBox" />
429 </g>
430
431 <g transform="translate(220, 0)">
432 <symbol id="xMidYMaxUnspecified" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMidYMax">
433 <use xlink:href="#smilley" />
434 </symbol>
435 <use xlink:href="#xMidYMaxUnspecified" x="12.5" y="7.5" width="30" height="25" />
436 <use xlink:href="#hViewBox" />
437 <use xlink:href="#hClipBox" />
438
439
440 <use xlink:href="#xMidYMaxUnspecified" x="72.5" y="7.5" width="20" height="25" />
441 <use xlink:href="#vViewBox" />
442 <use xlink:href="#vClipBox" />
443 </g>
444 </g>
445 </g>
446
447 <!-- xMaxYXXX XXX -->
448 <g transform="translate(0, 240)">
449 <!-- ... YMin XXX -->
450 <g>
451 <g>
452 <symbol id="xMaxYMinMeet" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMaxYMin meet">
453 <use xlink:href="#smilley" />
454 </symbol>
455 <use xlink:href="#xMaxYMinMeet" x="12.5" y="7.5" width="30" height="25" />
456 <use xlink:href="#hViewBox" />
457 <use xlink:href="#hClipBox" />
458
459
460 <use xlink:href="#xMaxYMinMeet" x="72.5" y="7.5" width="20" height="25" />
461 <use xlink:href="#vViewBox" />
462 <use xlink:href="#vClipBox" />
463 </g>
464
465 <g transform="translate(110, 0)">
466 <symbol id="xMaxYMinSlice" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMaxYMin slice">
467 <use xlink:href="#smilley" />
468 </symbol>
469 <use xlink:href="#xMaxYMinSlice" x="12.5" y="7.5" width="30" height="25" />
470 <use xlink:href="#hViewBox" />
471 <use xlink:href="#hClipBox" />
472
473
474 <use xlink:href="#xMaxYMinSlice" x="72.5" y="7.5" width="20" height="25" />
475 <use xlink:href="#vViewBox" />
476 <use xlink:href="#vClipBox" />
477 </g>
478
479 <g transform="translate(220, 0)">
480 <symbol id="xMaxYMinUnspecified" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMaxYMin">
481 <use xlink:href="#smilley" />
482 </symbol>
483 <use xlink:href="#xMaxYMinUnspecified" x="12.5" y="7.5" width="30" height="25" />
484 <use xlink:href="#hViewBox" />
485 <use xlink:href="#hClipBox" />
486
487
488 <use xlink:href="#xMaxYMinUnspecified" x="72.5" y="7.5" width="20" height="25" />
489 <use xlink:href="#vViewBox" />
490 <use xlink:href="#vClipBox" />
491 </g>
492 </g>
493
494 <!-- ... YMid XXX -->
495 <g transform="translate(0, 40)">
496 <g>
497 <symbol id="xMaxYMidMeet" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMaxYMid meet">
498 <use xlink:href="#smilley" />
499 </symbol>
500 <use xlink:href="#xMaxYMidMeet" x="12.5" y="7.5" width="30" height="25" />
501 <use xlink:href="#hViewBox" />
502 <use xlink:href="#hClipBox" />
503
504
505 <use xlink:href="#xMaxYMidMeet" x="72.5" y="7.5" width="20" height="25" />
506 <use xlink:href="#vViewBox" />
507 <use xlink:href="#vClipBox" />
508 </g>
509
510 <g transform="translate(110, 0)">
511 <symbol id="xMaxYMidSlice" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMaxYMid slice">
512 <use xlink:href="#smilley" />
513 </symbol>
514 <use xlink:href="#xMaxYMidSlice" x="12.5" y="7.5" width="30" height="25" />
515 <use xlink:href="#hViewBox" />
516 <use xlink:href="#hClipBox" />
517
518
519 <use xlink:href="#xMaxYMidSlice" x="72.5" y="7.5" width="20" height="25" />
520 <use xlink:href="#vViewBox" />
521 <use xlink:href="#vClipBox" />
522 </g>
523
524 <g transform="translate(220, 0)">
525 <symbol id="xMaxYMidUnspecified" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMaxYMid">
526 <use xlink:href="#smilley" />
527 </symbol>
528 <use xlink:href="#xMaxYMidUnspecified" x="12.5" y="7.5" width="30" height="25" />
529 <use xlink:href="#hViewBox" />
530 <use xlink:href="#hClipBox" />
531
532
533 <use xlink:href="#xMaxYMidUnspecified" x="72.5" y="7.5" width="20" height="25" />
534 <use xlink:href="#vViewBox" />
535 <use xlink:href="#vClipBox" />
536 </g>
537 </g>
538
539 <!-- ... YMax XXX -->
540 <g transform="translate(0, 80)">
541 <g>
542 <symbol id="xMaxYMaxMeet" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMaxYMax meet">
543 <use xlink:href="#smilley" />
544 </symbol>
545 <use xlink:href="#xMaxYMaxMeet" x="12.5" y="7.5" width="30" height="25" />
546 <use xlink:href="#hViewBox" />
547 <use xlink:href="#hClipBox" />
548
549
550 <use xlink:href="#xMaxYMaxMeet" x="72.5" y="7.5" width="20" height="25" />
551 <use xlink:href="#vViewBox" />
552 <use xlink:href="#vClipBox" />
553 </g>
554
555 <g transform="translate(110, 0)">
556 <symbol id="xMaxYMaxSlice" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMaxYMax slice">
557 <use xlink:href="#smilley" />
558 </symbol>
559 <use xlink:href="#xMaxYMaxSlice" x="12.5" y="7.5" width="30" height="25" />
560 <use xlink:href="#hViewBox" />
561 <use xlink:href="#hClipBox" />
562
563
564 <use xlink:href="#xMaxYMaxSlice" x="72.5" y="7.5" width="20" height="25" />
565 <use xlink:href="#vViewBox" />
566 <use xlink:href="#vClipBox" />
567 </g>
568
569 <g transform="translate(220, 0)">
570 <symbol id="xMaxYMaxUnspecified" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="xMaxYMax">
571 <use xlink:href="#smilley" />
572 </symbol>
573 <use xlink:href="#xMaxYMaxUnspecified" x="12.5" y="7.5" width="30" height="25" />
574 <use xlink:href="#hViewBox" />
575 <use xlink:href="#hClipBox" />
576
577
578 <use xlink:href="#xMaxYMaxUnspecified" x="72.5" y="7.5" width="20" height="25" />
579 <use xlink:href="#vViewBox" />
580 <use xlink:href="#vClipBox" />
581 </g>
582 </g>
583 </g>
584
585
586 <!-- none XXX -->
587 <g transform="translate(0,360)">
588 <g>
589 <g>
590 <symbol id="noneMeet" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="none meet">
591 <use xlink:href="#smilley" />
592 </symbol>
593 <use xlink:href="#noneMeet" x="12.5" y="7.5" width="30" height="25" />
594 <use xlink:href="#hViewBox" />
595 <use xlink:href="#hClipBox" />
596
597
598 <use xlink:href="#noneMeet" x="72.5" y="7.5" width="20" height="25" />
599 <use xlink:href="#vViewBox" />
600 <use xlink:href="#vClipBox" />
601 </g>
602
603 <g transform="translate(110, 0)">
604 <symbol id="noneSlice" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="none slice">
605 <use xlink:href="#smilley" />
606 </symbol>
607 <use xlink:href="#noneSlice" x="12.5" y="7.5" width="30" height="25" />
608 <use xlink:href="#hViewBox" />
609 <use xlink:href="#hClipBox" />
610
611
612 <use xlink:href="#noneSlice" x="72.5" y="7.5" width="20" height="25" />
613 <use xlink:href="#vViewBox" />
614 <use xlink:href="#vClipBox" />
615 </g>
616
617 <g transform="translate(220, 0)">
618 <symbol id="noneUnspecified" overflow="hidden" clip="rect(5,4,3,2)" viewBox="-10 -10 20 20" preserveAspectRatio="none">
619 <use xlink:href="#smilley" />
620 </symbol>
621 <use xlink:href="#noneUnspecified" x="12.5" y="7.5" width="30" height="25" />
622 <use xlink:href="#hViewBox" />
623 <use xlink:href="#hClipBox" />
624
625
626 <use xlink:href="#noneUnspecified" x="72.5" y="7.5" width="20" height="25" />
627 <use xlink:href="#vViewBox" />
628 <use xlink:href="#vClipBox" />
629 </g>
630 </g>
631
632 </g>
633
634
635
636 </g>
637
638 </g><!-- "content" -->
639
640 <!-- ============================================================= -->
641 <!-- Batik sample mark -->
642 <!-- ============================================================= -->
643 <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" />
644
645 </svg>