edburns%acm.org 687ec8a292 First import of the SVG pluglet. Compiles and works on win32.
git-svn-id: svn://10.0.0.236/trunk@96799 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-10 01:46:41 +00:00

50 lines
2.2 KiB
XML

<?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 created after bug submitted by cjolif@ilog.fr showing a problem with -->
<!-- radialGradient with objectBoundingBox on a text element. -->
<!-- @author vhardy@apache.org -->
<!-- @version $Id: bboxOnText.svg,v 1.1.1.1 2001-06-10 01:46:37 edburns%acm.org Exp $ -->
<!-- ========================================================================= -->
<?xml-stylesheet type="text/css" href="test.css" ?>
<svg id="body" width="450" height="500" viewBox="0 0 450 500">
<title>ObjectBounding box on TextNode</title>
<defs>
<radialGradient id="gradient" gradientUnits="objectBoundingBox"
cx="0.4953271150588989" cy="0.4933333396911621" fx="0.5" fy="0.5"
r="0.6560132">
<stop offset="0.0" style="stop-color:blue" />
<stop offset="0.57697475" style="stop-color:blue" />
<stop offset="1.0" style="stop-color:#ff0033" />
</radialGradient>
</defs>
<text x="50%" y="100" text-anchor="middle" font-size="30"
font-family="Verdana" fill="url(#gradient)">
ObjectBoudingBox
</text>
<!-- ============================================================= -->
<!-- Batik sample mark -->
<!-- ============================================================= -->
<use xlink:href="../batikLogo.svg#Batik_Tag_Box" />
</svg>