| 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 |
<!-- Linking and viewBox test. --> |
| 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" id="body" width="450" height="500" viewBox="0 0 450 500"> |
| 33 |
<title>Linking and transform test</title> |
| 34 |
<!-- ============================================================= --> |
| 35 |
<!-- Test content --> |
| 36 |
<!-- ============================================================= --> |
| 37 |
|
| 38 |
<g id="testContent"> |
| 39 |
|
| 40 |
<text x="225" y="50" class="title"> |
| 41 |
Linking and transform test |
| 42 |
</text> |
| 43 |
|
| 44 |
<defs> |
| 45 |
<g id="arrow"> |
| 46 |
<polygon points="0 -20 20 0 10 0 10 20 -10 20 -10 0 -20 0" /> |
| 47 |
</g> |
| 48 |
</defs> |
| 49 |
|
| 50 |
<g transform="translate(20 70)"> |
| 51 |
|
| 52 |
<a xlink:href="#svgView(transform(translate(0,-50))"> |
| 53 |
<use xlink:href="#arrow" transform="translate(205 120)"/> |
| 54 |
</a> |
| 55 |
|
| 56 |
<a xlink:href="#svgView(transform(translate(50,0))"> |
| 57 |
<use xlink:href="#arrow" transform="translate(255 180)rotate(90)"/> |
| 58 |
</a> |
| 59 |
|
| 60 |
<a xlink:href="#svgView(transform(translate(-50,0))"> |
| 61 |
<use xlink:href="#arrow" transform="translate(155 180)rotate(-90)"/> |
| 62 |
</a> |
| 63 |
|
| 64 |
<a xlink:href="#svgView(transform(translate(0,50))"> |
| 65 |
<use xlink:href="#arrow" transform="translate(205 240)rotate(180)"/> |
| 66 |
</a> |
| 67 |
|
| 68 |
</g> |
| 69 |
|
| 70 |
<a xlink:href="#body"> |
| 71 |
<circle cx="225" cy="250" r="10" /> |
| 72 |
</a> |
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
</g> |
| 77 |
|
| 78 |
<!-- ============================================================= --> |
| 79 |
<!-- Batik sample mark --> |
| 80 |
<!-- ============================================================= --> |
| 81 |
<use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" /> |
| 82 |
|
| 83 |
</svg> |