tkormann 01/12/10 08:20:30 Modified: test-resources/org/apache/batik/test samplesRendering.xml Added: samples/tests/spec/masking clipTransform.svg Log: add a new test to illustrate transform on clipPath content Revision Changes Path 1.1 xml-batik/samples/tests/spec/masking/clipTransform.svg Index: clipTransform.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. --> <!-- ========================================================================= --> <!-- ========================================================================= --> <!-- Test description here --> <!-- --> <!-- @author [EMAIL PROTECTED] --> <!-- @version $Id: clipTransform.svg,v 1.1 2001/12/10 16:20:29 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>Clip Transform Test</title> <text x="225" y="40" class="title">Clip Transform Test</text> <defs> <clipPath id="clip1"> <rect x="175" y="125" width="100" height="50" transform="rotate(45 225 150)" /> <rect x="200" y="100" width="50" height="100" transform="rotate(45 225 150)"/> </clipPath> <clipPath id="clip2" transform="rotate(45 225 350)"> <rect x="175" y="325" width="100" height="50" /> <rect x="200" y="300" width="50" height="100" /> </clipPath> <linearGradient id="grad"> <stop style="stop-color:crimson" offset="0" /> <stop style="stop-color:orange" offset=".5" /> <stop style="stop-color:gold" offset="1" /> </linearGradient> </defs> <!-- ============================================================= --> <!-- Test content --> <!-- ============================================================= --> <g id="testContent"> <rect x="125" y="80" width="200" height="140" style="fill:#eee" /> <rect x="125" y="80" width="200" height="140" style="fill:url(#grad); clip-path:url(#clip1)" /> <rect x="125" y="280" width="200" height="140" style="fill:#eee" /> <rect x="125" y="280" width="200" height="140" style="fill:url(#grad); clip-path:url(#clip2)" /> <text x="50%" y="240" style="text-anchor:middle">transform on <clipPath></text> <text x="50%" y="440" style="text-anchor:middle">transform on <clipPath>'s children</text> </g> <!-- ============================================================= --> <!-- Batik sample mark --> <!-- ============================================================= --> <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" /> </svg> 1.58 +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.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- samplesRendering.xml 2001/12/10 14:20:12 1.57 +++ samplesRendering.xml 2001/12/10 16:20:29 1.58 @@ -8,7 +8,7 @@ <!-- ========================================================================= --> <!-- @author [EMAIL PROTECTED] --> -<!-- @version $Id: samplesRendering.xml,v 1.57 2001/12/10 14:20:12 tkormann Exp $ --> +<!-- @version $Id: samplesRendering.xml,v 1.58 2001/12/10 16:20:29 tkormann Exp $ --> <!-- ========================================================================= --> <testSuite id="samplesRendering" name="samples and samples/test Rendering" class="org.apache.batik.test.svg.SamplesRenderingTest"> @@ -124,6 +124,7 @@ <testGroup id="tests.spec.masking"> <test id="samples/tests/spec/masking/clip.svg" /> <test id="samples/tests/spec/masking/maskRegions.svg" /> + <test id="samples/tests/spec/masking/clipTransform.svg" /> </testGroup> <testGroup id="tests.spec.painting">
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]