blob: 873d9ca98f2441d212d6bd754bc6ff493fe75ae6 [file] [log] [blame]
<?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.
-->
<!-- =================================================================== -->
<!-- Tests 'multiImage' element with a combination of 'subImage' and -->
<!-- 'subImageRef' children. -->
<!-- -->
<!-- @author Thomas.DeWeese@Kodak.com -->
<!-- @version $Id$ -->
<!-- =================================================================== -->
<svg width="640" height="480" viewBox="0 0 640 480"
xmlns="http://www.w3.org/2000/svg" version="1.2"
xmlns:xlink="http://www.w3.org/1999/xlink">
<style type="text/css"><![CDATA[
.overlay { fill:none; stroke-width:4; }
]]></style>
<symbol id="opera" viewBox="0 0 90 135">
<multiImage x="0" y="0" width="90" height="135">
<subImageRef xlink:href="multires/opera-3-0-0.jpg"
min-pixel-size="1"/>
<subImage max-pixel-size="1">
<svg width="100%" height="100%" viewBox="0 0 180 270">
<multiImage x="0" y="0" width="180" height="180">
<subImageRef xlink:href="multires/opera-2-0-0.jpg"
min-pixel-size="1"/>
<subImage max-pixel-size="1">
<svg width="100%" height="100%" viewBox="0 0 360 360">
<multiImage x="0" y="0" width="180" height="180">
<subImageRef xlink:href="multires/opera-1-0-0.jpg"
min-pixel-size="1"/>
<subImage max-pixel-size="1">
<svg width="100%" height="100%"
viewBox="0 0 360 360">
<image x="0" y="0" width="180" height="180"
xlink:href="multires/opera-0-0-0.jpg"/>
<image x="180" y="0" width="180" height="180"
xlink:href="multires/opera-0-1-0.jpg"/>
<image x="0" y="180" width="180" height="180"
xlink:href="multires/opera-0-0-1.jpg"/>
<image x="180" y="180"
width="180" height="180"
xlink:href="multires/opera-0-1-1.jpg"/>
<rect class="overlay" stroke="#F00"
x="0" y="0" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="180" y="0" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="0" y="180" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="180" y="180" width="180" height="180"/>
</svg>
</subImage>
</multiImage>
<multiImage x="180" y="0" width="180" height="180">
<subImageRef xlink:href="multires/opera-1-1-0.jpg"
min-pixel-size="1"/>
<subImage max-pixel-size="1">
<svg width="100%" height="100%"
viewBox="0 0 360 360">
<image x="0" y="0" width="180" height="180"
xlink:href="multires/opera-0-2-0.jpg"/>
<image x="180" y="0" width="180" height="180"
xlink:href="multires/opera-0-3-0.jpg"/>
<image x="0" y="180" width="180" height="180"
xlink:href="multires/opera-0-2-1.jpg"/>
<image x="180" y="180"
width="180" height="180"
xlink:href="multires/opera-0-3-1.jpg"/>
<rect class="overlay" stroke="#F00"
x="0" y="0" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="180" y="0" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="0" y="180" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="180" y="180" width="180" height="180"/>
</svg>
</subImage>
</multiImage>
<multiImage x="0" y="180" width="180" height="180">
<subImageRef xlink:href="multires/opera-1-0-1.jpg"
min-pixel-size="1"/>
<subImage max-pixel-size="1">
<svg width="100%" height="100%"
viewBox="0 0 360 360">
<image x="0" y="0" width="180" height="180"
xlink:href="multires/opera-0-0-2.jpg"/>
<image x="180" y="0" width="180" height="180"
xlink:href="multires/opera-0-1-2.jpg"/>
<image x="0" y="180" width="180" height="180"
xlink:href="multires/opera-0-0-3.jpg"/>
<image x="180" y="180"
width="180" height="180"
xlink:href="multires/opera-0-1-3.jpg"/>
<rect class="overlay" stroke="#F00"
x="0" y="0" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="180" y="0" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="0" y="180" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="180" y="180" width="180" height="180"/>
</svg>
</subImage>
</multiImage>
<multiImage x="180" y="180" width="180" height="180">
<subImageRef xlink:href="multires/opera-1-1-1.jpg"
min-pixel-size="1"/>
<subImage max-pixel-size="1">
<svg width="100%" height="100%"
viewBox="0 0 360 360">
<image x="0" y="0" width="180" height="180"
xlink:href="multires/opera-0-2-2.jpg"/>
<image x="180" y="0" width="180" height="180"
xlink:href="multires/opera-0-3-2.jpg"/>
<image x="0" y="180" width="180" height="180"
xlink:href="multires/opera-0-2-3.jpg"/>
<image x="180" y="180"
width="180" height="180"
xlink:href="multires/opera-0-3-3.jpg"/>
<rect class="overlay" stroke="#F00"
x="0" y="0" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="180" y="0" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="0" y="180" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="180" y="180" width="180" height="180"/>
</svg>
</subImage>
</multiImage>
<rect class="overlay"
stroke="#FF0"
x="0" y="0" width="180" height="180"/>
<rect class="overlay"
stroke="#FF0"
x="180" y="0" width="180" height="180"/>
<rect class="overlay"
stroke="#FF0"
x="0" y="180" width="180" height="180"/>
<rect class="overlay"
stroke="#FF0"
x="180" y="180" width="180" height="180"/>
</svg>
</subImage>
</multiImage>
<multiImage x="0" y="180" width="180" height="90">
<subImageRef xlink:href="multires/opera-2-0-1.jpg"
min-pixel-size="1"/>
<subImage max-pixel-size="1">
<svg width="100%" height="100%" viewBox="0 0 360 180">
<multiImage x="0" y="0" width="180" height="180">
<subImageRef xlink:href="multires/opera-1-0-2.jpg"
min-pixel-size="1"/>
<subImage max-pixel-size="1">
<svg width="100%" height="100%"
viewBox="0 0 360 360">
<image x="0" y="0" width="180" height="180"
xlink:href="multires/opera-0-0-4.jpg"/>
<image x="180" y="0" width="180" height="180"
xlink:href="multires/opera-0-1-4.jpg"/>
<image x="0" y="180" width="180" height="180"
xlink:href="multires/opera-0-0-5.jpg"/>
<image x="180" y="180"
width="180" height="180"
xlink:href="multires/opera-0-1-5.jpg"/>
<rect class="overlay" stroke="#F00"
x="0" y="0" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="180" y="0" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="0" y="180" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="180" y="180" width="180" height="180"/>
</svg>
</subImage>
</multiImage>
<multiImage x="180" y="0" width="180" height="180">
<subImageRef xlink:href="multires/opera-1-1-2.jpg"
min-pixel-size="1"/>
<subImage max-pixel-size="1">
<svg width="100%" height="100%"
viewBox="0 0 360 360">
<image x="0" y="0" width="180" height="180"
xlink:href="multires/opera-0-2-4.jpg"/>
<image x="180" y="0" width="180" height="180"
xlink:href="multires/opera-0-3-4.jpg"/>
<image x="0" y="180" width="180" height="180"
xlink:href="multires/opera-0-2-5.jpg"/>
<image x="180" y="180"
width="180" height="180"
xlink:href="multires/opera-0-3-5.jpg"/>
<rect class="overlay" stroke="#F00"
x="0" y="0" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="180" y="0" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="0" y="180" width="180" height="180"/>
<rect class="overlay" stroke="#F00"
x="180" y="180" width="180" height="180"/>
</svg>
</subImage>
</multiImage>
<rect class="overlay"
stroke="#FF0"
x="0" y="0" width="180" height="180"/>
<rect class="overlay"
stroke="#FF0"
x="180" y="0" width="180" height="180"/>
</svg>
</subImage>
</multiImage>
<rect class="overlay"
stroke="#0F0"
x="0" y="0" width="180" height="180"/>
<rect class="overlay"
stroke="#0F0"
x="0" y="180" width="180" height="90"/>
</svg>
</subImage>
</multiImage>
<rect class="overlay" stroke="#00F"
x="0" y="0" width="90" height="135"/>
</symbol>
<use x="165" y="50" width="270" height="405" xlink:href="#opera"/>
<use x="10" y="50" width="135" height="202.5" xlink:href="#opera"/>
<use x="43.75" y="272.5" width="67.5" height="101.25" xlink:href="#opera"/>
</svg>