blob: 4b3a205e39366efa398fb3887f78ebec1c4e7aaf [file] [log] [blame]
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000802//EN"
"http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd">
<!-- ========================================================================= -->
<!-- Copyright (C) The Apache Software Foundation. All rights reserved. -->
<!-- -->
<!-- This software is published under the terms of the Apache Software License -->
<!-- version 1.1, a copy of which has been included with this distribution in -->
<!-- the LICENSE file. -->
<!-- ========================================================================= -->
<!-- ========================================================================= -->
<!-- Test 'image-rendering' property -->
<!-- -->
<!-- @author tkormann@apache.org -->
<!-- @version $Id$ -->
<!-- ========================================================================= -->
<?xml-stylesheet type="text/css" href="test.css" ?>
<svg id="body" width="450" height="500" viewBox="0 0 450 500">
<title>Test the 'text-rendering' property</title>
<!-- ============================================================= -->
<!-- Test content -->
<!-- ============================================================= -->
<g id="testContent">
<text x="225" y="50" class="title">
Test the 'image-rendering' property
</text>
<g>
<image x="60" y="90" width="100" height="100" xlink:href="jpeg.jpg" style="image-rendering:auto"/>
<image x="260" y="90" width="100" height="100" xlink:href="jpeg.jpg" style="image-rendering:optimizeSpeed"/>
<image x="60" y="240" width="100" height="100" xlink:href="jpeg.jpg" style="image-rendering:optimizeQuality"/>
</g>
<g style="font-size:11;fill:black;stroke:none;text-anchor:middle">
<text x="110" y="204">auto</text>
<text x="310" y="204">optimizeSpeed</text>
<text x="110" y="354">optimizeQuality</text>
</g>
</g>
<!-- ============================================================= -->
<!-- Batik sample mark -->
<!-- ============================================================= -->
<use xlink:href="../batikLogo.svg#Batik_Tag_Box" />
</svg>