| 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 |
<!-- Test description here --> |
| 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" |
| 33 |
xmlns:xlink="http://www.w3.org/1999/xlink" |
| 34 |
id="body" width="450" height="500" viewBox="0 0 450 500"> |
| 35 |
|
| 36 |
<title>feImage Test</title> |
| 37 |
|
| 38 |
<!-- ============================================================= --> |
| 39 |
<!-- Test content --> |
| 40 |
<!-- ============================================================= --> |
| 41 |
<g id="testContent"> |
| 42 |
|
| 43 |
<text x="225" y="40" class="title"> |
| 44 |
feImage Test |
| 45 |
</text> |
| 46 |
|
| 47 |
<defs> |
| 48 |
|
| 49 |
<g id="elem1"> |
| 50 |
<circle id="Circle1" cx="112.5" cy="250" r="100" style="fill:orange" /> |
| 51 |
<circle id="Circle2" cx="337.5" cy="250" r="100" style="fill:blue" /> |
| 52 |
</g> |
| 53 |
|
| 54 |
<filter id="Elem1" x="0" y="0" width="1" height="1"> |
| 55 |
<feImage xlink:href="#elem1"/> |
| 56 |
</filter> |
| 57 |
|
| 58 |
<filter id="Elem2" x="0" y="0" width="1" height="1"> |
| 59 |
<feImage xlink:href="../rendering/opacity2.svg"/> |
| 60 |
</filter> |
| 61 |
|
| 62 |
<filter id="Elem3" x="0" y="0" width="1" height="1"> |
| 63 |
<feImage xlink:href="../structure/dataProtocol.svg#testContent"/> |
| 64 |
</filter> |
| 65 |
|
| 66 |
</defs> |
| 67 |
|
| 68 |
<g transform="translate(0 40)" class="legend"> |
| 69 |
|
| 70 |
<!-- ============================================== --> |
| 71 |
<!-- Composite_1_* --> |
| 72 |
<!-- ============================================== --> |
| 73 |
<g transform="translate(40 20)" class="row1" > |
| 74 |
<g id="c1" transform="translate(20 0)"> |
| 75 |
<rect x="0" y="0" width="450" height="500" transform="scale(0.25 0.25)" fill="Beige"/> |
| 76 |
<rect x="0" y="0" width="450" height="500" transform="scale(0.25 0.25)" |
| 77 |
style="fill:FireBrick; filter:url(#Elem1)"/> |
| 78 |
<text x="60" y="140" style="text-anchor:middle"> |
| 79 |
1.1 Reference |
| 80 |
</text> |
| 81 |
<text x="60" y="152"> |
| 82 |
local element |
| 83 |
</text> |
| 84 |
</g> |
| 85 |
|
| 86 |
<g id="c2" transform="translate(120 200)"> |
| 87 |
<rect x="0" y="0" width="450" height="500" transform="scale(0.25 0.25)" fill="Beige"/> |
| 88 |
<rect x="0" y="0" width="450" height="500" |
| 89 |
transform="scale(0.25 0.25)" |
| 90 |
style="fill:FireBrick; filter:url(#Elem2)" /> |
| 91 |
<text x="60" y="140" style="text-anchor:middle"> |
| 92 |
1.2 Reference |
| 93 |
</text> |
| 94 |
<text x="60" y="152"> |
| 95 |
external SVG file |
| 96 |
</text> |
| 97 |
</g> |
| 98 |
|
| 99 |
|
| 100 |
<g id="c3" transform="translate(240, 0)"> |
| 101 |
<rect x="0" y="0" width="450" height="500" transform="scale(.25, .25)" fill="Beige"/> |
| 102 |
<rect x="0" y="0" width="450" height="500" |
| 103 |
transform="scale(.25, .25)" |
| 104 |
style="fill:FireBrick; filter:url(#Elem3)" /> |
| 105 |
<g transform="translate(60, 140)"> |
| 106 |
<text x="0" y="0" style="text-anchor:middle"> |
| 107 |
1.3 Reference |
| 108 |
</text> |
| 109 |
<text x="0" y="12"> |
| 110 |
external SVG element |
| 111 |
</text> |
| 112 |
</g> |
| 113 |
</g> |
| 114 |
</g> |
| 115 |
</g> |
| 116 |
</g> |
| 117 |
|
| 118 |
<!-- ============================================================= --> |
| 119 |
<!-- Batik sample mark --> |
| 120 |
<!-- ============================================================= --> |
| 121 |
<use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" /> |
| 122 |
|
| 123 |
</svg> |