| 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 |
<!-- Multiple use combined (external and internal) --> |
| 25 |
<!-- --> |
| 26 |
<!-- @author [email protected] --> |
| 27 |
<!-- @version $Id$ --> |
| 28 |
<!-- ========================================================================= --> |
| 29 |
|
| 30 |
<?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?> |
| 31 |
|
| 32 |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450" height="500" viewBox="0 0 450 500"> |
| 33 |
<title>Multiple <use></title> |
| 34 |
|
| 35 |
<!-- ============================================================= --> |
| 36 |
<!-- Test content --> |
| 37 |
<!-- ============================================================= --> |
| 38 |
<g id="testContent"> |
| 39 |
<text x="225" y="50" class="title">Multiple <use></text> |
| 40 |
<text x="225" y="70" style="text-anchor:middle; font-size:12; font-style:italic">This file is using the defs.svg file to get the external resources</text> |
| 41 |
|
| 42 |
<!-- ############################### --> |
| 43 |
<g id="board" style="fill:none; stroke:black;"> |
| 44 |
|
| 45 |
<rect x="75" y="100" width="150" height="20" style="fill:#eee"/> |
| 46 |
<rect x="225" y="100" width="150" height="20" style="fill:#eee"/> |
| 47 |
|
| 48 |
<rect x="55" y="120" width="20" height="150" style="fill:#eee"/> |
| 49 |
<rect x="55" y="270" width="20" height="150" style="fill:#eee"/> |
| 50 |
|
| 51 |
<rect x="75" y="120" width="150" height="300"/> |
| 52 |
<rect x="225" y="120" width="150" height="300"/> |
| 53 |
|
| 54 |
<line x1="75" y1="270" x2="375" y2="270" /> |
| 55 |
|
| 56 |
<g style="font-size:12; text-anchor:middle; fill:black; stroke:none"> |
| 57 |
<text x="150" y="114"><use></text> |
| 58 |
<text x="300" y="114">External <use></text> |
| 59 |
|
| 60 |
<text x="0" y="0" transform="translate(70 195) rotate(-90)"><use></text> |
| 61 |
<text x="0" y="0" transform="translate(70 345) rotate(-90)">External <use></text> |
| 62 |
</g> |
| 63 |
</g> |
| 64 |
|
| 65 |
<defs> |
| 66 |
<rect id="r1" x="0" y="0" width="80" height="80" /> |
| 67 |
|
| 68 |
<g id="u11" style="fill:orange"> |
| 69 |
<rect x="0" y="0" width="80" height="80" fill="crimson" /> |
| 70 |
<use xlink:href="#r1" x="20" y="20" width="80" height="80" /> |
| 71 |
<use xlink:href="#r1" x="40" y="40" width="80" height="80" style="fill:gold" /> |
| 72 |
</g> |
| 73 |
|
| 74 |
<g id="u12" style="fill:orange"> |
| 75 |
<rect x="0" y="0" width="80" height="80" fill="crimson" /> |
| 76 |
<use xlink:href="../../resources/svg/defs.svg#extR1" x="20" y="20" width="80" height="80" /> |
| 77 |
<use xlink:href="../../resources/svg/defs.svg#extR1" x="40" y="40" width="80" height="80" style="fill:gold" /> |
| 78 |
</g> |
| 79 |
|
| 80 |
</defs> |
| 81 |
|
| 82 |
<use xlink:href="#u11" x="90" y="130" /> |
| 83 |
|
| 84 |
<use xlink:href="../../resources/svg/defs.svg#u21" x="240" y="130" /> |
| 85 |
|
| 86 |
<use xlink:href="#u12" x="90" y="280" /> |
| 87 |
|
| 88 |
<use xlink:href="../../resources/svg/defs.svg#u22" x="240" y="280" /> |
| 89 |
|
| 90 |
|
| 91 |
</g> |
| 92 |
|
| 93 |
<!-- ============================================================= --> |
| 94 |
<!-- Batik sample mark --> |
| 95 |
<!-- ============================================================= --> |
| 96 |
<use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" /> |
| 97 |
|
| 98 |
</svg> |