| 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 |
<!-- Tests 'multiImage' element with a combination of 'subImage' and --> |
| 25 |
<!-- 'subImageRef' children. --> |
| 26 |
<!-- --> |
| 27 |
<!-- @author [email protected] --> |
| 28 |
<!-- @version $Id$ --> |
| 29 |
<!-- =================================================================== --> |
| 30 |
|
| 31 |
<svg width="640" height="480" viewBox="0 0 640 480" |
| 32 |
xmlns="http://www.w3.org/2000/svg" version="1.2" |
| 33 |
xmlns:xlink="http://www.w3.org/1999/xlink"> |
| 34 |
|
| 35 |
<style type="text/css"><![CDATA[ |
| 36 |
.overlay { fill:none; stroke-width:4; } |
| 37 |
]]></style> |
| 38 |
|
| 39 |
<symbol id="opera" viewBox="0 0 90 135"> |
| 40 |
<multiImage x="0" y="0" width="90" height="135"> |
| 41 |
<subImageRef xlink:href="multires/opera-3-0-0.jpg" |
| 42 |
min-pixel-size="1"/> |
| 43 |
<subImage max-pixel-size="1"> |
| 44 |
<svg width="100%" height="100%" viewBox="0 0 180 270"> |
| 45 |
<multiImage x="0" y="0" width="180" height="180"> |
| 46 |
<subImageRef xlink:href="multires/opera-2-0-0.jpg" |
| 47 |
min-pixel-size="1"/> |
| 48 |
<subImage max-pixel-size="1"> |
| 49 |
<svg width="100%" height="100%" viewBox="0 0 360 360"> |
| 50 |
<multiImage x="0" y="0" width="180" height="180"> |
| 51 |
<subImageRef xlink:href="multires/opera-1-0-0.jpg" |
| 52 |
min-pixel-size="1"/> |
| 53 |
<subImage max-pixel-size="1"> |
| 54 |
<svg width="100%" height="100%" |
| 55 |
viewBox="0 0 360 360"> |
| 56 |
<image x="0" y="0" width="180" height="180" |
| 57 |
xlink:href="multires/opera-0-0-0.jpg"/> |
| 58 |
<image x="180" y="0" width="180" height="180" |
| 59 |
xlink:href="multires/opera-0-1-0.jpg"/> |
| 60 |
<image x="0" y="180" width="180" height="180" |
| 61 |
xlink:href="multires/opera-0-0-1.jpg"/> |
| 62 |
<image x="180" y="180" |
| 63 |
width="180" height="180" |
| 64 |
xlink:href="multires/opera-0-1-1.jpg"/> |
| 65 |
|
| 66 |
<rect class="overlay" stroke="#F00" |
| 67 |
x="0" y="0" width="180" height="180"/> |
| 68 |
<rect class="overlay" stroke="#F00" |
| 69 |
x="180" y="0" width="180" height="180"/> |
| 70 |
<rect class="overlay" stroke="#F00" |
| 71 |
x="0" y="180" width="180" height="180"/> |
| 72 |
<rect class="overlay" stroke="#F00" |
| 73 |
x="180" y="180" width="180" height="180"/> |
| 74 |
</svg> |
| 75 |
</subImage> |
| 76 |
</multiImage> |
| 77 |
<multiImage x="180" y="0" width="180" height="180"> |
| 78 |
<subImageRef xlink:href="multires/opera-1-1-0.jpg" |
| 79 |
min-pixel-size="1"/> |
| 80 |
<subImage max-pixel-size="1"> |
| 81 |
<svg width="100%" height="100%" |
| 82 |
viewBox="0 0 360 360"> |
| 83 |
<image x="0" y="0" width="180" height="180" |
| 84 |
xlink:href="multires/opera-0-2-0.jpg"/> |
| 85 |
<image x="180" y="0" width="180" height="180" |
| 86 |
xlink:href="multires/opera-0-3-0.jpg"/> |
| 87 |
<image x="0" y="180" width="180" height="180" |
| 88 |
xlink:href="multires/opera-0-2-1.jpg"/> |
| 89 |
<image x="180" y="180" |
| 90 |
width="180" height="180" |
| 91 |
xlink:href="multires/opera-0-3-1.jpg"/> |
| 92 |
|
| 93 |
<rect class="overlay" stroke="#F00" |
| 94 |
x="0" y="0" width="180" height="180"/> |
| 95 |
<rect class="overlay" stroke="#F00" |
| 96 |
x="180" y="0" width="180" height="180"/> |
| 97 |
<rect class="overlay" stroke="#F00" |
| 98 |
x="0" y="180" width="180" height="180"/> |
| 99 |
<rect class="overlay" stroke="#F00" |
| 100 |
x="180" y="180" width="180" height="180"/> |
| 101 |
</svg> |
| 102 |
</subImage> |
| 103 |
</multiImage> |
| 104 |
<multiImage x="0" y="180" width="180" height="180"> |
| 105 |
<subImageRef xlink:href="multires/opera-1-0-1.jpg" |
| 106 |
min-pixel-size="1"/> |
| 107 |
<subImage max-pixel-size="1"> |
| 108 |
<svg width="100%" height="100%" |
| 109 |
viewBox="0 0 360 360"> |
| 110 |
<image x="0" y="0" width="180" height="180" |
| 111 |
xlink:href="multires/opera-0-0-2.jpg"/> |
| 112 |
<image x="180" y="0" width="180" height="180" |
| 113 |
xlink:href="multires/opera-0-1-2.jpg"/> |
| 114 |
<image x="0" y="180" width="180" height="180" |
| 115 |
xlink:href="multires/opera-0-0-3.jpg"/> |
| 116 |
<image x="180" y="180" |
| 117 |
width="180" height="180" |
| 118 |
xlink:href="multires/opera-0-1-3.jpg"/> |
| 119 |
|
| 120 |
<rect class="overlay" stroke="#F00" |
| 121 |
x="0" y="0" width="180" height="180"/> |
| 122 |
<rect class="overlay" stroke="#F00" |
| 123 |
x="180" y="0" width="180" height="180"/> |
| 124 |
<rect class="overlay" stroke="#F00" |
| 125 |
x="0" y="180" width="180" height="180"/> |
| 126 |
<rect class="overlay" stroke="#F00" |
| 127 |
x="180" y="180" width="180" height="180"/> |
| 128 |
</svg> |
| 129 |
</subImage> |
| 130 |
</multiImage> |
| 131 |
<multiImage x="180" y="180" width="180" height="180"> |
| 132 |
<subImageRef xlink:href="multires/opera-1-1-1.jpg" |
| 133 |
min-pixel-size="1"/> |
| 134 |
<subImage max-pixel-size="1"> |
| 135 |
<svg width="100%" height="100%" |
| 136 |
viewBox="0 0 360 360"> |
| 137 |
<image x="0" y="0" width="180" height="180" |
| 138 |
xlink:href="multires/opera-0-2-2.jpg"/> |
| 139 |
<image x="180" y="0" width="180" height="180" |
| 140 |
xlink:href="multires/opera-0-3-2.jpg"/> |
| 141 |
<image x="0" y="180" width="180" height="180" |
| 142 |
xlink:href="multires/opera-0-2-3.jpg"/> |
| 143 |
<image x="180" y="180" |
| 144 |
width="180" height="180" |
| 145 |
xlink:href="multires/opera-0-3-3.jpg"/> |
| 146 |
|
| 147 |
<rect class="overlay" stroke="#F00" |
| 148 |
x="0" y="0" width="180" height="180"/> |
| 149 |
<rect class="overlay" stroke="#F00" |
| 150 |
x="180" y="0" width="180" height="180"/> |
| 151 |
<rect class="overlay" stroke="#F00" |
| 152 |
x="0" y="180" width="180" height="180"/> |
| 153 |
<rect class="overlay" stroke="#F00" |
| 154 |
x="180" y="180" width="180" height="180"/> |
| 155 |
</svg> |
| 156 |
</subImage> |
| 157 |
</multiImage> |
| 158 |
|
| 159 |
<rect class="overlay" |
| 160 |
stroke="#FF0" |
| 161 |
x="0" y="0" width="180" height="180"/> |
| 162 |
<rect class="overlay" |
| 163 |
stroke="#FF0" |
| 164 |
x="180" y="0" width="180" height="180"/> |
| 165 |
<rect class="overlay" |
| 166 |
stroke="#FF0" |
| 167 |
x="0" y="180" width="180" height="180"/> |
| 168 |
<rect class="overlay" |
| 169 |
stroke="#FF0" |
| 170 |
x="180" y="180" width="180" height="180"/> |
| 171 |
</svg> |
| 172 |
</subImage> |
| 173 |
</multiImage> |
| 174 |
|
| 175 |
<multiImage x="0" y="180" width="180" height="90"> |
| 176 |
<subImageRef xlink:href="multires/opera-2-0-1.jpg" |
| 177 |
min-pixel-size="1"/> |
| 178 |
<subImage max-pixel-size="1"> |
| 179 |
<svg width="100%" height="100%" viewBox="0 0 360 180"> |
| 180 |
<multiImage x="0" y="0" width="180" height="180"> |
| 181 |
<subImageRef xlink:href="multires/opera-1-0-2.jpg" |
| 182 |
min-pixel-size="1"/> |
| 183 |
<subImage max-pixel-size="1"> |
| 184 |
<svg width="100%" height="100%" |
| 185 |
viewBox="0 0 360 360"> |
| 186 |
<image x="0" y="0" width="180" height="180" |
| 187 |
xlink:href="multires/opera-0-0-4.jpg"/> |
| 188 |
<image x="180" y="0" width="180" height="180" |
| 189 |
xlink:href="multires/opera-0-1-4.jpg"/> |
| 190 |
<image x="0" y="180" width="180" height="180" |
| 191 |
xlink:href="multires/opera-0-0-5.jpg"/> |
| 192 |
<image x="180" y="180" |
| 193 |
width="180" height="180" |
| 194 |
xlink:href="multires/opera-0-1-5.jpg"/> |
| 195 |
|
| 196 |
<rect class="overlay" stroke="#F00" |
| 197 |
x="0" y="0" width="180" height="180"/> |
| 198 |
<rect class="overlay" stroke="#F00" |
| 199 |
x="180" y="0" width="180" height="180"/> |
| 200 |
<rect class="overlay" stroke="#F00" |
| 201 |
x="0" y="180" width="180" height="180"/> |
| 202 |
<rect class="overlay" stroke="#F00" |
| 203 |
x="180" y="180" width="180" height="180"/> |
| 204 |
</svg> |
| 205 |
</subImage> |
| 206 |
</multiImage> |
| 207 |
<multiImage x="180" y="0" width="180" height="180"> |
| 208 |
<subImageRef xlink:href="multires/opera-1-1-2.jpg" |
| 209 |
min-pixel-size="1"/> |
| 210 |
<subImage max-pixel-size="1"> |
| 211 |
<svg width="100%" height="100%" |
| 212 |
viewBox="0 0 360 360"> |
| 213 |
<image x="0" y="0" width="180" height="180" |
| 214 |
xlink:href="multires/opera-0-2-4.jpg"/> |
| 215 |
<image x="180" y="0" width="180" height="180" |
| 216 |
xlink:href="multires/opera-0-3-4.jpg"/> |
| 217 |
<image x="0" y="180" width="180" height="180" |
| 218 |
xlink:href="multires/opera-0-2-5.jpg"/> |
| 219 |
<image x="180" y="180" |
| 220 |
width="180" height="180" |
| 221 |
xlink:href="multires/opera-0-3-5.jpg"/> |
| 222 |
|
| 223 |
<rect class="overlay" stroke="#F00" |
| 224 |
x="0" y="0" width="180" height="180"/> |
| 225 |
<rect class="overlay" stroke="#F00" |
| 226 |
x="180" y="0" width="180" height="180"/> |
| 227 |
<rect class="overlay" stroke="#F00" |
| 228 |
x="0" y="180" width="180" height="180"/> |
| 229 |
<rect class="overlay" stroke="#F00" |
| 230 |
x="180" y="180" width="180" height="180"/> |
| 231 |
</svg> |
| 232 |
</subImage> |
| 233 |
</multiImage> |
| 234 |
|
| 235 |
<rect class="overlay" |
| 236 |
stroke="#FF0" |
| 237 |
x="0" y="0" width="180" height="180"/> |
| 238 |
<rect class="overlay" |
| 239 |
stroke="#FF0" |
| 240 |
x="180" y="0" width="180" height="180"/> |
| 241 |
</svg> |
| 242 |
</subImage> |
| 243 |
</multiImage> |
| 244 |
|
| 245 |
<rect class="overlay" |
| 246 |
stroke="#0F0" |
| 247 |
x="0" y="0" width="180" height="180"/> |
| 248 |
<rect class="overlay" |
| 249 |
stroke="#0F0" |
| 250 |
x="0" y="180" width="180" height="90"/> |
| 251 |
</svg> |
| 252 |
</subImage> |
| 253 |
</multiImage> |
| 254 |
<rect class="overlay" stroke="#00F" |
| 255 |
x="0" y="0" width="90" height="135"/> |
| 256 |
</symbol> |
| 257 |
|
| 258 |
<use x="165" y="50" width="270" height="405" xlink:href="#opera"/> |
| 259 |
|
| 260 |
<use x="10" y="50" width="135" height="202.5" xlink:href="#opera"/> |
| 261 |
|
| 262 |
<use x="43.75" y="272.5" width="67.5" height="101.25" xlink:href="#opera"/> |
| 263 |
</svg> |