tkormann 02/05/29 06:12:21 Modified: test-resources/org/apache/batik/test samplesRendering.xml Added: samples/tests/spec/paints radialGradientLine.svg Log: - add a new test (similar to linearGradientLine.svg) expect that's for radial gradient which illustrates a bug in batik (so no reference image since the bug is fixed) Revision Changes Path 1.1 xml-batik/samples/tests/spec/paints/radialGradientLine.svg Index: radialGradientLine.svg =================================================================== <?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"> <!-- ========================================================================= --> <!-- 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. --> <!-- ========================================================================= --> <!-- ========================================================================= --> <!-- Radial gradient on line. --> <!-- --> <!-- @author [EMAIL PROTECTED] --> <!-- @version $Id: radialGradientLine.svg,v 1.1 2002/05/29 13:12:21 tkormann Exp $ --> <!-- ========================================================================= --> <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="body" width="450" height="500" viewBox="0 0 450 500"> <title>Radial gradient on lines</title> <text x="50%" y="45" class="title">Radial gradient on lines</text> <g id="testContent"> <defs> <radialGradient id="grad" cx=".5" cy=".5" r="1"> <stop offset="0" style="stop-color:crimson" /> <stop offset="1" style="stop-color:gold" /> </radialGradient> </defs> <g style="fill:#eee;stroke:black"> <rect x="75" y="100" width="300" height="20" /> <rect x="55" y="120" width="20" height="300" /> </g> <g style="fill:none;stroke:black"> <rect x="75" y="120" width="300" height="300" /> <line x1="55" y1="270" x2="375" y2="270" /> </g> <g style="text-anchor:middle; fill:black; stroke:none"> <text x="225" y="115">Gradient</text> <text transform="translate(70 200)rotate(-90)">horizontal <line></text> <text transform="translate(70 350)rotate(-90)">vertical <Line></text> </g> <line x1="185" y1="195" x2="265" y2="195" style="stroke:url(#grad)" /> <line x1="220" y1="285" x2="220" y2="405" style="stroke:url(#grad)"/> </g> <!-- ============================================================= --> <!-- Batik sample mark --> <!-- ============================================================= --> <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" /> </svg> 1.73 +2 -1 xml-batik/test-resources/org/apache/batik/test/samplesRendering.xml Index: samplesRendering.xml =================================================================== RCS file: /home/cvs/xml-batik/test-resources/org/apache/batik/test/samplesRendering.xml,v retrieving revision 1.72 retrieving revision 1.73 diff -u -r1.72 -r1.73 --- samplesRendering.xml 29 May 2002 13:00:34 -0000 1.72 +++ samplesRendering.xml 29 May 2002 13:12:21 -0000 1.73 @@ -8,7 +8,7 @@ <!-- ========================================================================= --> <!-- @author [EMAIL PROTECTED] --> -<!-- @version $Id: samplesRendering.xml,v 1.72 2002/05/29 13:00:34 tkormann Exp $ --> +<!-- @version $Id: samplesRendering.xml,v 1.73 2002/05/29 13:12:21 tkormann Exp $ --> <!-- ========================================================================= --> <testSuite id="samplesRendering" name="samples and samples/test Rendering" class="org.apache.batik.test.svg.SamplesRenderingTest"> @@ -167,6 +167,7 @@ <test id="samples/tests/spec/paints/gradientLimit.svg" /> <test id="samples/tests/spec/paints/linearGradientOrientation.svg" /> <test id="samples/tests/spec/paints/linearGradientLine.svg" /> + <test id="samples/tests/spec/paints/radialGradientLine.svg" /> <test id="samples/tests/spec/paints/patternPreserveAspectRatioA.svg" /> <test id="samples/tests/spec/paints/patternRegionA.svg" /> <test id="samples/tests/spec/paints/patternRegionB.svg" />
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]