| <?xml version="1.0" standalone="no"?> |
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" |
| "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> |
| |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <!-- ====================================================================== --> |
| <!-- Alternate stylesheets --> |
| <!-- --> |
| <!-- @author tkormann@ilog.fr --> |
| <!-- @version $Id$ --> |
| <!-- ====================================================================== --> |
| |
| <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?> |
| |
| <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"> |
| <title><use> targets</title> |
| |
| <!-- ============================================================= --> |
| <!-- Test content --> |
| <!-- ============================================================= --> |
| <g id="testContent"> |
| <text x="225" y="50" class="title"><use> targets</text> |
| <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> |
| |
| <!-- ############################### --> |
| <g id="board" style="fill:none; stroke:black;"> |
| |
| <rect x="75" y="100" width="150" height="20" style="fill:#eee"/> |
| <rect x="225" y="100" width="150" height="20" style="fill:#eee"/> |
| |
| <rect x="55" y="120" width="20" height="100" style="fill:#eee"/> |
| <rect x="55" y="220" width="20" height="100" style="fill:#eee"/> |
| <rect x="55" y="320" width="20" height="100" style="fill:#eee"/> |
| |
| <rect x="75" y="120" width="150" height="300"/> |
| <rect x="225" y="120" width="150" height="300"/> |
| |
| <line x1="75" y1="220" x2="375" y2="220" /> |
| <line x1="75" y1="320" x2="375" y2="320" /> |
| |
| <g style="font-size:12; text-anchor:middle; fill:black; stroke:none"> |
| <text x="150" y="114"><use></text> |
| <text x="300" y="114">External <use></text> |
| |
| <text x="0" y="0" transform="translate(70 170) rotate(-90)">Symbol</text> |
| <text x="0" y="0" transform="translate(70 270) rotate(-90)">SVG</text> |
| <text x="0" y="0" transform="translate(70 370) rotate(-90)">Other</text> |
| </g> |
| </g> |
| |
| <defs> |
| |
| <symbol id="symbol" viewBox="-50 -50 100 100" style="stroke:crimson; stroke-width:4"> |
| <rect x="-50" y="-50" width="100%" height="100%" style="fill:gold; stroke:none"/> |
| <circle cx="0" cy="0" r="25%"/> |
| </symbol> |
| |
| <svg id="svg" width="50" height="50" viewBox="-50 -50 100 100" style="stroke:crimson; stroke-width:4"> |
| <rect x="-50" y="-50" width="100%" height="100%" style="fill:gold; stroke:none"/> |
| <circle cx="0" cy="0" r="25%"/> |
| </svg> |
| |
| <g id="other" style="stroke:crimson; stroke-width:4"> |
| <rect x="-50" y="-50" width="100" height="100" style="fill:gold; stroke:none"/> |
| <circle cx="0" cy="0" r="25"/> |
| </g> |
| |
| </defs> |
| |
| <!-- ### use ### --> |
| <use xlink:href="#symbol" x="115" y="130" width="75" height="75" style="fill:orange" /> |
| <rect x="115" y="130" width="75" height="75" style="stroke:black; fill:none;" /> |
| |
| <use xlink:href="#svg" x="115" y="230" width="75" height="75" style="fill:orange" /> |
| <rect x="115" y="230" width="75" height="75" style="stroke:black; fill:none;" /> |
| |
| <use xlink:href="#other" x="115" y="330" style="fill:orange" |
| transform="translate(152.5, 367.5) scale(.75) translate(-115 -330)"/> |
| <rect x="115" y="330" width="75" height="75" style="stroke:black; fill:none;" /> |
| |
| |
| <!-- ### external use ### --> |
| <use xlink:href="../../resources/svg/defs.svg#extSymbol" x="265" y="130" width="75" height="75" style="fill:orange" /> |
| <rect x="265" y="130" width="75" height="75" style="stroke:black; fill:none;" /> |
| |
| <use xlink:href="../../resources/svg/defs.svg#extSvg" x="265" y="230" width="75" height="75" style="fill:orange" /> |
| <rect x="265" y="230" width="75" height="75" style="stroke:black; fill:none;" /> |
| |
| <use xlink:href="../../resources/svg/defs.svg#extOther" x="265" y="330" style="fill:orange" |
| transform="translate(302.5, 367.5) scale(.75) translate(-265, -330)"/> |
| <rect x="265" y="330" width="75" height="75" style="stroke:black; fill:none;" /> |
| |
| </g> |
| |
| <!-- ============================================================= --> |
| <!-- Batik sample mark --> |
| <!-- ============================================================= --> |
| <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" /> |
| |
| </svg> |