You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-commits@xmlgraphics.apache.org by ca...@apache.org on 2006/11/16 12:16:21 UTC
svn commit: r475685 [14/35] - in /xmlgraphics/batik/trunk: ./
contrib/charts/xsl/ contrib/rasterizertask/
contrib/rasterizertask/sources/org/apache/tools/ant/taskdefs/optional/
contrib/scroll/ resources/org/apache/batik/apps/svgbrowser/resources/
resou...
Modified: xmlgraphics/batik/trunk/samples/tests/spec/linking/pointerEvents.svg
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/samples/tests/spec/linking/pointerEvents.svg?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/samples/tests/spec/linking/pointerEvents.svg (original)
+++ xmlgraphics/batik/trunk/samples/tests/spec/linking/pointerEvents.svg Thu Nov 16 03:16:05 2006
@@ -50,24 +50,24 @@
<g id="success" fill="rgb(0,255,0)">
<use xlink:href="#smilley" />
</g>
- <g id="cell">
- <rect x="20" y="60" width="120" height="20" style="fill:#eee; stroke:black"/>
- <rect x="20" y="80" width="120" height="100" style="fill:none; stroke:black"/>
-
- <g>
- <g>
- <rect x="90" y="90" width="40" height="20" style="fill:#aaa"/>
- </g>
-
- <g transform="translate(0 30)">
- <rect x="90" y="90" width="40" height="20" style="fill:none; stroke:black; stroke-width:4"/>
- </g>
-
- <g transform="translate(0 60)">
- <rect x="90" y="90" width="40" height="20" style="fill:#aaa; stroke:black; stroke-width:4"/>
- </g>
- </g>
- </g>
+ <g id="cell">
+ <rect x="20" y="60" width="120" height="20" style="fill:#eee; stroke:black"/>
+ <rect x="20" y="80" width="120" height="100" style="fill:none; stroke:black"/>
+
+ <g>
+ <g>
+ <rect x="90" y="90" width="40" height="20" style="fill:#aaa"/>
+ </g>
+
+ <g transform="translate(0 30)">
+ <rect x="90" y="90" width="40" height="20" style="fill:none; stroke:black; stroke-width:4"/>
+ </g>
+
+ <g transform="translate(0 60)">
+ <rect x="90" y="90" width="40" height="20" style="fill:#aaa; stroke:black; stroke-width:4"/>
+ </g>
+ </g>
+ </g>
</defs>
@@ -84,230 +84,230 @@
<g style="text-anchor:middle;">
<g transform="translate(0 0)">
- <use xlink:href="#cell" />
- <text x="80" y="74">visiblePainted</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">visiblePainted</text>
</g>
<g transform="translate(140 0)">
- <use xlink:href="#cell" />
- <text x="80" y="74">visibleFill</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">visibleFill</text>
</g>
<g transform="translate(280 0)">
- <use xlink:href="#cell" />
- <text x="80" y="74">visibleStroke</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">visibleStroke</text>
</g>
<g transform="translate(0 130)">
- <use xlink:href="#cell" />
- <text x="80" y="74">visible</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">visible</text>
</g>
<g transform="translate(140 130)">
- <use xlink:href="#cell" />
- <text x="80" y="74">painted</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">painted</text>
</g>
<g transform="translate(280 130)">
- <use xlink:href="#cell" />
- <text x="80" y="74">fill</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">fill</text>
</g>
<g transform="translate(0 260)">
- <use xlink:href="#cell" />
- <text x="80" y="74">stroke</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">stroke</text>
</g>
<g transform="translate(140 260)">
- <use xlink:href="#cell" />
- <text x="80" y="74">all</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">all</text>
</g>
<g transform="translate(280 260)">
- <use xlink:href="#cell" />
- <text x="80" y="74">none</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">none</text>
</g>
<!-- ######################################### -->
<g transform="translate(0 0)" style="pointer-events:visiblePainted">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <g style="fill:crimson">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <g style="fill:crimson">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
- </a>
+ <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ </a>
</g>
<g transform="translate(140 0)" style="pointer-events:visibleFill">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <g style="fill:crimson">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <g style="fill:crimson">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
- </a>
+ <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ </a>
</g>
<g transform="translate(280 0)" style="pointer-events:visibleStroke">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <g style="fill:crimson">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <g style="fill:crimson">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
- </a>
+ <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ </a>
</g>
<g transform="translate(0 130)" style="pointer-events:visible">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <g style="fill:crimson">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <g style="fill:crimson">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
- </a>
+ <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ </a>
</g>
<g transform="translate(140 130)" style="pointer-events:painted">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <g style="fill:crimson">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <g style="fill:crimson">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
- </a>
+ <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ </a>
</g>
<g transform="translate(280 130)" style="pointer-events:fill">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <g style="fill:crimson">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <g style="fill:crimson">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
- </a>
+ <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ </a>
</g>
<g transform="translate(0 260)" style="pointer-events:stroke">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <g style="fill:crimson">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <g style="fill:crimson">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
- </a>
+ </a>
</g>
<g transform="translate(140 260)" style="pointer-events:all">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <g style="fill:crimson">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <g style="fill:crimson">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
- </a>
+ </a>
</g>
<g transform="translate(280 260)" style="pointer-events:none">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <g style="fill:crimson">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
-
- <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
- <rect x="30" y="90" width="40" height="20" />
- <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
- </g>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <g style="fill:crimson">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ <g transform="translate(0 30)" style="fill:none; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
+
+ <g transform="translate(0 60)" style="fill:crimson; stroke:gold; stroke-width:4">
+ <rect x="30" y="90" width="40" height="20" />
+ <rect x="90" y="90" width="40" height="20" style="visibility:hidden"/>
+ </g>
- </a>
+ </a>
</g>
</g>
Modified: xmlgraphics/batik/trunk/samples/tests/spec/linking/pointerEvents2.svg
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/samples/tests/spec/linking/pointerEvents2.svg?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/samples/tests/spec/linking/pointerEvents2.svg (original)
+++ xmlgraphics/batik/trunk/samples/tests/spec/linking/pointerEvents2.svg Thu Nov 16 03:16:05 2006
@@ -49,19 +49,19 @@
<g id="success" fill="rgb(0,255,0)">
<use xlink:href="#smilley" />
</g>
- <g id="cell">
- <rect x="20" y="60" width="120" height="20" style="fill:#eee; stroke:black"/>
- <rect x="20" y="80" width="120" height="100" style="fill:none; stroke:black"/>
-
- <g style="fill:#aaa">
- <rect x="35" y="90" width="35" height="14.5" />
- <rect x="90" y="90" width="35" height="14.5" />
- <rect x="25" y="120" width="50" height="28" />
- <rect x="80" y="120" width="50" height="28" />
- <rect x="35" y="158" width="30" height="16" />
- <rect x="90" y="158" width="30" height="16" />
- </g>
- </g>
+ <g id="cell">
+ <rect x="20" y="60" width="120" height="20" style="fill:#eee; stroke:black"/>
+ <rect x="20" y="80" width="120" height="100" style="fill:none; stroke:black"/>
+
+ <g style="fill:#aaa">
+ <rect x="35" y="90" width="35" height="14.5" />
+ <rect x="90" y="90" width="35" height="14.5" />
+ <rect x="25" y="120" width="50" height="28" />
+ <rect x="80" y="120" width="50" height="28" />
+ <rect x="35" y="158" width="30" height="16" />
+ <rect x="90" y="158" width="30" height="16" />
+ </g>
+ </g>
</defs>
@@ -78,167 +78,167 @@
<g style="text-anchor:middle;">
<g transform="translate(0 0)">
- <use xlink:href="#cell" />
- <text x="80" y="74">visiblePainted</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">visiblePainted</text>
</g>
<g transform="translate(140 0)">
- <use xlink:href="#cell" />
- <text x="80" y="74">visibleFill</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">visibleFill</text>
</g>
<g transform="translate(280 0)">
- <use xlink:href="#cell" />
- <text x="80" y="74">visibleStroke</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">visibleStroke</text>
</g>
<g transform="translate(0 130)">
- <use xlink:href="#cell" />
- <text x="80" y="74">visible</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">visible</text>
</g>
<g transform="translate(140 130)">
- <use xlink:href="#cell" />
- <text x="80" y="74">painted</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">painted</text>
</g>
<g transform="translate(280 130)">
- <use xlink:href="#cell" />
- <text x="80" y="74">fill</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">fill</text>
</g>
<g transform="translate(0 260)">
- <use xlink:href="#cell" />
- <text x="80" y="74">stroke</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">stroke</text>
</g>
<g transform="translate(140 260)">
- <use xlink:href="#cell" />
- <text x="80" y="74">all</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">all</text>
</g>
<g transform="translate(280 260)">
- <use xlink:href="#cell" />
- <text x="80" y="74">none</text>
+ <use xlink:href="#cell" />
+ <text x="80" y="74">none</text>
</g>
<!-- ######################################### -->
<g transform="translate(0 0)" style="pointer-events:visiblePainted">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
- <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
-
- <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
- <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
-
- <text x="50" y="170">Batik</text>
- <text x="105" y="170" style="visibility:hidden">Batik</text>
- </a>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
+ <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
+
+ <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
+ <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
+
+ <text x="50" y="170">Batik</text>
+ <text x="105" y="170" style="visibility:hidden">Batik</text>
+ </a>
</g>
<g transform="translate(140 0)" style="pointer-events:visibleFill">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
- <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
-
- <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
- <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
-
- <text x="50" y="170">Batik</text>
- <text x="105" y="170" style="visibility:hidden">Batik</text>
- </a>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
+ <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
+
+ <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
+ <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
+
+ <text x="50" y="170">Batik</text>
+ <text x="105" y="170" style="visibility:hidden">Batik</text>
+ </a>
</g>
<g transform="translate(280 0)" style="pointer-events:visibleStroke">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
- <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
-
- <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
- <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
-
- <text x="50" y="170">Batik</text>
- <text x="105" y="170" style="visibility:hidden">Batik</text>
- </a>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
+ <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
+
+ <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
+ <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
+
+ <text x="50" y="170">Batik</text>
+ <text x="105" y="170" style="visibility:hidden">Batik</text>
+ </a>
</g>
<g transform="translate(0 130)" style="pointer-events:visible">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
- <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
-
- <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
- <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
-
- <text x="50" y="170">Batik</text>
- <text x="105" y="170" style="visibility:hidden">Batik</text>
- </a>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
+ <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
+
+ <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
+ <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
+
+ <text x="50" y="170">Batik</text>
+ <text x="105" y="170" style="visibility:hidden">Batik</text>
+ </a>
</g>
<g transform="translate(140 130)" style="pointer-events:painted">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
- <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
-
- <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
- <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
-
- <text x="50" y="170">Batik</text>
- <text x="105" y="170" style="visibility:hidden">Batik</text>
- </a>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
+ <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
+
+ <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
+ <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
+
+ <text x="50" y="170">Batik</text>
+ <text x="105" y="170" style="visibility:hidden">Batik</text>
+ </a>
</g>
<g transform="translate(280 130)" style="pointer-events:fill">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
- <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
-
- <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
- <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
-
- <text x="50" y="170">Batik</text>
- <text x="105" y="170" style="visibility:hidden">Batik</text>
- </a>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
+ <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
+
+ <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
+ <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
+
+ <text x="50" y="170">Batik</text>
+ <text x="105" y="170" style="visibility:hidden">Batik</text>
+ </a>
</g>
<g transform="translate(0 260)" style="pointer-events:stroke">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
- <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
-
- <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
- <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
-
- <text x="50" y="170">Batik</text>
- <text x="105" y="170" style="visibility:hidden">Batik</text>
- </a>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
+ <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
+
+ <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
+ <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
+
+ <text x="50" y="170">Batik</text>
+ <text x="105" y="170" style="visibility:hidden">Batik</text>
+ </a>
</g>
<g transform="translate(140 260)" style="pointer-events:all">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
- <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
-
- <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
- <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
-
- <text x="50" y="170">Batik</text>
- <text x="105" y="170" style="visibility:hidden">Batik</text>
- </a>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
+ <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
+
+ <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
+ <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
+
+ <text x="50" y="170">Batik</text>
+ <text x="105" y="170" style="visibility:hidden">Batik</text>
+ </a>
</g>
<g transform="translate(280 260)" style="pointer-events:none">
- <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
- <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
- <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
-
- <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
- <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
-
- <text x="50" y="170">Batik</text>
- <text x="105" y="170" style="visibility:hidden">Batik</text>
- </a>
+ <a xlink:href="#svgView(viewBox(3,2.5,4,4))">
+ <image xlink:href="../../resources/images/tde.jpg" x="35" y="90" width="35" height="14.5" />
+ <image xlink:href="../../resources/images/tde.jpg" x="90" y="90" width="35" height="14.5" style="visibility:hidden"/>
+
+ <image xlink:href="../../resources/images/svg.svg" x="25" y="120" width="50" height="28" />
+ <image xlink:href="../../resources/images/svg.svg" x="80" y="120" width="50" height="28" style="visibility:hidden"/>
+
+ <text x="50" y="170">Batik</text>
+ <text x="105" y="170" style="visibility:hidden">Batik</text>
+ </a>
</g>
</g>
Modified: xmlgraphics/batik/trunk/samples/tests/spec/masking/clipTransform.svg
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/samples/tests/spec/masking/clipTransform.svg?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/samples/tests/spec/masking/clipTransform.svg (original)
+++ xmlgraphics/batik/trunk/samples/tests/spec/masking/clipTransform.svg Thu Nov 16 03:16:05 2006
@@ -36,21 +36,21 @@
<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="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>
+ <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>
+ <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>
Modified: xmlgraphics/batik/trunk/samples/tests/spec/painting/display.svg
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/samples/tests/spec/painting/display.svg?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/samples/tests/spec/painting/display.svg (original)
+++ xmlgraphics/batik/trunk/samples/tests/spec/painting/display.svg Thu Nov 16 03:16:05 2006
@@ -41,34 +41,34 @@
Test 'display' property
</text>
- <g id="array">
- <g style="stroke:black;fill:none;">
- <rect x="45" y="60" width="360" height="20" fill="#eee"/>
- <rect x="25" y="80" width="20" height="360" fill="#eee"/>
- <rect x="45" y="80" width="360" height="360" />
-
- <line x1="165" y1="60" x2="165" y2="440" />
- <line x1="285" y1="60" x2="285" y2="440" />
-
- <line x1="25" y1="170" x2="405" y2="170" />
- <line x1="25" y1="260" x2="405" y2="260" />
- <line x1="25" y1="350" x2="405" y2="350" />
- </g>
- <g style="text-anchor:middle; font-size:10pt; fill:black; stroke:none">
- <text x="105" y="75">display:inherit</text>
- <text x="225" y="75">display:inline</text>
- <text x="345" y="75">display:none</text>
-
-
- <text x="0" y="0" transform="translate(40, 125) rotate(-90)"><rect></text>
-
- <text x="0" y="0" transform="translate(40, 215) rotate(-90)"><g></text>
-
- <text x="0" y="0" transform="translate(40, 305) rotate(-90)"><clipPath></text>
-
- <text x="0" y="0" transform="translate(40, 395) rotate(-90)"><mask></text>
- </g>
- </g>
+ <g id="array">
+ <g style="stroke:black;fill:none;">
+ <rect x="45" y="60" width="360" height="20" fill="#eee"/>
+ <rect x="25" y="80" width="20" height="360" fill="#eee"/>
+ <rect x="45" y="80" width="360" height="360" />
+
+ <line x1="165" y1="60" x2="165" y2="440" />
+ <line x1="285" y1="60" x2="285" y2="440" />
+
+ <line x1="25" y1="170" x2="405" y2="170" />
+ <line x1="25" y1="260" x2="405" y2="260" />
+ <line x1="25" y1="350" x2="405" y2="350" />
+ </g>
+ <g style="text-anchor:middle; font-size:10pt; fill:black; stroke:none">
+ <text x="105" y="75">display:inherit</text>
+ <text x="225" y="75">display:inline</text>
+ <text x="345" y="75">display:none</text>
+
+
+ <text x="0" y="0" transform="translate(40, 125) rotate(-90)"><rect></text>
+
+ <text x="0" y="0" transform="translate(40, 215) rotate(-90)"><g></text>
+
+ <text x="0" y="0" transform="translate(40, 305) rotate(-90)"><clipPath></text>
+
+ <text x="0" y="0" transform="translate(40, 395) rotate(-90)"><mask></text>
+ </g>
+ </g>
<!-- #################################################### -->
<!-- #################################################### -->
@@ -108,23 +108,23 @@
<!-- #################################################### -->
<!-- #################################################### -->
<defs>
- <!-- a clipPath with its children display properties set to 'inherit' -->
- <clipPath id="clipInherit" clipPathUnits="objectBoundingBox">
- <ellipse cx=".3" cy=".5" rx=".3" ry=".5" style="display:inherit"/>
- <ellipse cx=".7" cy=".5" rx=".3" ry=".5" style="display:inherit"/>
- </clipPath>
-
- <!-- a clipPath with its children display properties set to 'inline' -->
- <clipPath id="clipInline" clipPathUnits="objectBoundingBox">
- <ellipse cx=".3" cy=".5" rx=".3" ry=".5" style="display:inline"/>
- <ellipse cx=".7" cy=".5" rx=".3" ry=".5" style="display:inline"/>
- </clipPath>
-
- <!-- a clipPath with its children display properties set to 'none' -->
- <clipPath id="clipNone" clipPathUnits="objectBoundingBox">
- <ellipse cx=".3" cy=".5" rx=".3" ry=".5" style="display:none"/>
- <ellipse cx=".7" cy=".5" rx=".3" ry=".5" style="display:none"/>
- </clipPath>
+ <!-- a clipPath with its children display properties set to 'inherit' -->
+ <clipPath id="clipInherit" clipPathUnits="objectBoundingBox">
+ <ellipse cx=".3" cy=".5" rx=".3" ry=".5" style="display:inherit"/>
+ <ellipse cx=".7" cy=".5" rx=".3" ry=".5" style="display:inherit"/>
+ </clipPath>
+
+ <!-- a clipPath with its children display properties set to 'inline' -->
+ <clipPath id="clipInline" clipPathUnits="objectBoundingBox">
+ <ellipse cx=".3" cy=".5" rx=".3" ry=".5" style="display:inline"/>
+ <ellipse cx=".7" cy=".5" rx=".3" ry=".5" style="display:inline"/>
+ </clipPath>
+
+ <!-- a clipPath with its children display properties set to 'none' -->
+ <clipPath id="clipNone" clipPathUnits="objectBoundingBox">
+ <ellipse cx=".3" cy=".5" rx=".3" ry=".5" style="display:none"/>
+ <ellipse cx=".7" cy=".5" rx=".3" ry=".5" style="display:none"/>
+ </clipPath>
</defs>
<rect x="65" y="270" width="80" height="70" style="fill:crimson; clip-path:url(#clipInherit);" />
@@ -136,29 +136,29 @@
<!-- #################################################### -->
<!-- #################################################### -->
<defs>
- <mask id="maskInherit" maskContentUnits="objectBoundingBox"
- x="0" y="0" width="100%" height="100%" style="fill:white">
- <circle cx=".2" cy=".2" r=".2" style="display:inherit"/>
- <circle cx=".8" cy=".2" r=".2" style="display:inherit"/>
- <circle cx=".2" cy=".8" r=".2" style="display:inherit"/>
- <circle cx=".8" cy=".8" r=".2" style="display:inherit"/>
- </mask>
-
- <mask id="maskInline" maskContentUnits="objectBoundingBox"
- x="0" y="0" width="100%" height="100%" style="fill:white">
- <circle cx=".2" cy=".2" r=".2" style="display:inline"/>
- <circle cx=".8" cy=".2" r=".2" style="display:inline"/>
- <circle cx=".2" cy=".8" r=".2" style="display:inline"/>
- <circle cx=".8" cy=".8" r=".2" style="display:inline"/>
- </mask>
-
- <mask id="maskNone" maskContentUnits="objectBoundingBox"
- x="0" y="0" width="100%" height="100%" style="fill:white">
- <circle cx=".2" cy=".2" r=".2" style="display:none"/>
- <circle cx=".8" cy=".2" r=".2" style="display:none"/>
- <circle cx=".2" cy=".8" r=".2" style="display:none"/>
- <circle cx=".8" cy=".8" r=".2" style="display:none"/>
- </mask>
+ <mask id="maskInherit" maskContentUnits="objectBoundingBox"
+ x="0" y="0" width="100%" height="100%" style="fill:white">
+ <circle cx=".2" cy=".2" r=".2" style="display:inherit"/>
+ <circle cx=".8" cy=".2" r=".2" style="display:inherit"/>
+ <circle cx=".2" cy=".8" r=".2" style="display:inherit"/>
+ <circle cx=".8" cy=".8" r=".2" style="display:inherit"/>
+ </mask>
+
+ <mask id="maskInline" maskContentUnits="objectBoundingBox"
+ x="0" y="0" width="100%" height="100%" style="fill:white">
+ <circle cx=".2" cy=".2" r=".2" style="display:inline"/>
+ <circle cx=".8" cy=".2" r=".2" style="display:inline"/>
+ <circle cx=".2" cy=".8" r=".2" style="display:inline"/>
+ <circle cx=".8" cy=".8" r=".2" style="display:inline"/>
+ </mask>
+
+ <mask id="maskNone" maskContentUnits="objectBoundingBox"
+ x="0" y="0" width="100%" height="100%" style="fill:white">
+ <circle cx=".2" cy=".2" r=".2" style="display:none"/>
+ <circle cx=".8" cy=".2" r=".2" style="display:none"/>
+ <circle cx=".2" cy=".8" r=".2" style="display:none"/>
+ <circle cx=".8" cy=".8" r=".2" style="display:none"/>
+ </mask>
</defs>
<rect x="65" y="360" width="80" height="70" style="fill:crimson; mask:url(#maskInherit)" />
Modified: xmlgraphics/batik/trunk/samples/tests/spec/painting/stroke-rendering.svg
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/samples/tests/spec/painting/stroke-rendering.svg?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/samples/tests/spec/painting/stroke-rendering.svg (original)
+++ xmlgraphics/batik/trunk/samples/tests/spec/painting/stroke-rendering.svg Thu Nov 16 03:16:05 2006
@@ -29,36 +29,35 @@
<?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
-
<svg id="body" width="450" height="500" viewBox="0 0 450 500"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
+
<title>Test the 'shape-rendering' property</title>
<!-- ============================================================= -->
<!-- Test content -->
<!-- ============================================================= -->
<g id="testContent">
<text x="225" y="50" class="title">Test the 'stroke-dashoffset'
- property</text>
+ property</text>
<g style="fill:gold;stroke:orange;stroke-width:8">
-
- <circle cx="120" cy="140" r="40" stroke-width="0"/>
- <circle cx="300" cy="140" r="40" stroke-dasharray="10,10"/>
- <circle cx="120" cy="290" r="40" stroke-dasharray="10,10"
- stroke-dashoffset="-15"/>
- <circle cx="300" cy="290" r="40" stroke-dasharray="10"
- stroke-dashoffset="-25"/>
- <circle cx="210" cy="420" r="40" stroke-dasharray="10,10"
- stroke-dashoffset="25"/>
+ <circle cx="120" cy="140" r="40" stroke-width="0"/>
+ <circle cx="300" cy="140" r="40" stroke-dasharray="10,10"/>
+ <circle cx="120" cy="290" r="40" stroke-dasharray="10,10"
+ stroke-dashoffset="-15"/>
+ <circle cx="300" cy="290" r="40" stroke-dasharray="10"
+ stroke-dashoffset="-25"/>
+ <circle cx="210" cy="420" r="40" stroke-dasharray="10,10"
+ stroke-dashoffset="25"/>
</g>
<g style="font-size:11;fill:black;stroke:none;text-anchor:middle">
- <text x="120" y="204">stroke-width='0'</text>
- <text x="300" y="204">stroke-dasharray="10,10"</text>
- <text x="120" y="354">stroke-dashoffset="-15"</text>
- <text x="300" y="354">stroke-dashoffset="-25"</text>
- <text x="210" y="484">stroke-dashoffset="25"</text>
+ <text x="120" y="204">stroke-width='0'</text>
+ <text x="300" y="204">stroke-dasharray="10,10"</text>
+ <text x="120" y="354">stroke-dashoffset="-15"</text>
+ <text x="300" y="354">stroke-dashoffset="-25"</text>
+ <text x="210" y="484">stroke-dashoffset="25"</text>
</g>
</g>
Modified: xmlgraphics/batik/trunk/samples/tests/spec/painting/visibility.svg
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/samples/tests/spec/painting/visibility.svg?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/samples/tests/spec/painting/visibility.svg (original)
+++ xmlgraphics/batik/trunk/samples/tests/spec/painting/visibility.svg Thu Nov 16 03:16:05 2006
@@ -45,15 +45,15 @@
<rect x="0" y="45" width="40" height="50" style="fill:#eee"/>
<rect x="40" y="45" width="40" height="50" style="fill:#aaa"/>
<rect x="80" y="45" width="40" height="50" style="fill:#444"/>
- <text x="60" y="120" style="text-anchor:middle">inherit | inherit | inherit</text>
- <text x="60" y="136" style="text-anchor:middle"><g> inherit</text>
+ <text x="60" y="120" style="text-anchor:middle">inherit | inherit | inherit</text>
+ <text x="60" y="136" style="text-anchor:middle"><g> inherit</text>
</g>
<g transform="translate(160, 0)">
<rect x="0" y="45" width="40" height="50" style="fill:#eee"/>
<rect x="40" y="45" width="40" height="50" style="fill:#aaa"/>
<rect x="80" y="45" width="40" height="50" style="fill:#444"/>
- <text x="60" y="120" style="text-anchor:middle">inherit | inherit | inherit</text>
- <text x="60" y="136" style="text-anchor:middle"><g> hidden</text>
+ <text x="60" y="120" style="text-anchor:middle">inherit | inherit | inherit</text>
+ <text x="60" y="136" style="text-anchor:middle"><g> hidden</text>
</g>
<g transform="translate(0 10)">
<g style="visibility:inherit">
@@ -75,15 +75,15 @@
<rect x="0" y="45" width="40" height="50" style="fill:#eee"/>
<rect x="40" y="45" width="40" height="50" style="fill:#aaa"/>
<rect x="80" y="45" width="40" height="50" style="fill:#444"/>
- <text x="60" y="120" style="text-anchor:middle">inherit | hidden | visible</text>
- <text x="60" y="136" style="text-anchor:middle"><g> inherit</text>
+ <text x="60" y="120" style="text-anchor:middle">inherit | hidden | visible</text>
+ <text x="60" y="136" style="text-anchor:middle"><g> inherit</text>
</g>
<g transform="translate(160, 0)">
<rect x="0" y="45" width="40" height="50" style="fill:#eee"/>
<rect x="40" y="45" width="40" height="50" style="fill:#aaa"/>
<rect x="80" y="45" width="40" height="50" style="fill:#444"/>
- <text x="60" y="120" style="text-anchor:middle">inherit | hidden | visible</text>
- <text x="60" y="136" style="text-anchor:middle"><g> visible</text>
+ <text x="60" y="120" style="text-anchor:middle">inherit | hidden | visible</text>
+ <text x="60" y="136" style="text-anchor:middle"><g> visible</text>
</g>
<g transform="translate(0 10)">
<g style="visibility:inherit">
@@ -104,15 +104,15 @@
<rect x="0" y="45" width="40" height="50" style="fill:#eee"/>
<rect x="40" y="45" width="40" height="50" style="fill:#aaa"/>
<rect x="80" y="45" width="40" height="50" style="fill:#444"/>
- <text x="60" y="120" style="text-anchor:middle">inherit | hidden | visible</text>
- <text x="60" y="136" style="text-anchor:middle"><g> collapse</text>
+ <text x="60" y="120" style="text-anchor:middle">inherit | hidden | visible</text>
+ <text x="60" y="136" style="text-anchor:middle"><g> collapse</text>
</g>
<g transform="translate(160, 0)">
<rect x="0" y="45" width="40" height="50" style="fill:#eee"/>
<rect x="40" y="45" width="40" height="50" style="fill:#aaa"/>
<rect x="80" y="45" width="40" height="50" style="fill:#444"/>
- <text x="60" y="120" style="text-anchor:middle">inherit | hidden | visible</text>
- <text x="60" y="136" style="text-anchor:middle"><g> hidden</text>
+ <text x="60" y="120" style="text-anchor:middle">inherit | hidden | visible</text>
+ <text x="60" y="136" style="text-anchor:middle"><g> hidden</text>
</g>
<g transform="translate(0 10)">
<g style="visibility:collapse">
Modified: xmlgraphics/batik/trunk/samples/tests/spec/paints/externalPaints.svg
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/samples/tests/spec/paints/externalPaints.svg?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/samples/tests/spec/paints/externalPaints.svg (original)
+++ xmlgraphics/batik/trunk/samples/tests/spec/paints/externalPaints.svg Thu Nov 16 03:16:05 2006
@@ -42,31 +42,31 @@
<!-- ############################### -->
<g id="board" style="fill:none; stroke:black;">
- <rect x="75" y="100" width="100" height="20" style="fill:#eee"/>
- <rect x="175" y="100" width="100" height="20" style="fill:#eee"/>
- <rect x="275" y="100" width="100" height="20" style="fill:#eee"/>
-
- <rect x="55" y="120" width="20" height="100" style="fill:#eee"/>
- <rect x="55" y="220" width="20" height="100" style="fill:#eee"/>
- <rect x="55" y="320" width="20" height="100" style="fill:#eee"/>
-
- <rect x="75" y="120" width="100" height="300"/>
- <rect x="175" y="120" width="100" height="300"/>
- <rect x="275" y="120" width="100" height="300"/>
-
- <line x1="75" y1="220" x2="375" y2="220" />
- <line x1="75" y1="320" x2="375" y2="320" />
-
- <g style="font-size:12; text-anchor:middle; fill:black; stroke:none">
- <text x="125" y="114">Linear Gradient</text>
- <text x="225" y="114">Radial Gradient</text>
- <text x="325" y="114">Pattern</text>
-
- <text x="0" y="0" transform="translate(70 170) rotate(-90)">Simple Reference</text>
- <text x="0" y="0" transform="translate(70 270) rotate(-90)">Inheritance</text>
- <text x="0" y="0" transform="translate(70 370) rotate(-90)">Ext. Inheritance</text>
+ <rect x="75" y="100" width="100" height="20" style="fill:#eee"/>
+ <rect x="175" y="100" width="100" height="20" style="fill:#eee"/>
+ <rect x="275" y="100" width="100" height="20" style="fill:#eee"/>
+
+ <rect x="55" y="120" width="20" height="100" style="fill:#eee"/>
+ <rect x="55" y="220" width="20" height="100" style="fill:#eee"/>
+ <rect x="55" y="320" width="20" height="100" style="fill:#eee"/>
+
+ <rect x="75" y="120" width="100" height="300"/>
+ <rect x="175" y="120" width="100" height="300"/>
+ <rect x="275" y="120" width="100" height="300"/>
+
+ <line x1="75" y1="220" x2="375" y2="220" />
+ <line x1="75" y1="320" x2="375" y2="320" />
+
+ <g style="font-size:12; text-anchor:middle; fill:black; stroke:none">
+ <text x="125" y="114">Linear Gradient</text>
+ <text x="225" y="114">Radial Gradient</text>
+ <text x="325" y="114">Pattern</text>
+
+ <text x="0" y="0" transform="translate(70 170) rotate(-90)">Simple Reference</text>
+ <text x="0" y="0" transform="translate(70 270) rotate(-90)">Inheritance</text>
+ <text x="0" y="0" transform="translate(70 370) rotate(-90)">Ext. Inheritance</text>
- </g>
+ </g>
</g>
Modified: xmlgraphics/batik/trunk/samples/tests/spec/paints/gradientLimit.svg
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/samples/tests/spec/paints/gradientLimit.svg?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/samples/tests/spec/paints/gradientLimit.svg (original)
+++ xmlgraphics/batik/trunk/samples/tests/spec/paints/gradientLimit.svg Thu Nov 16 03:16:05 2006
@@ -38,9 +38,9 @@
<desc>The last two offsets of this linearGradient are
very close (0.000001) to one-another</desc>
<linearGradient id="closeOffsetsLinearGradient" gradientUnits="objectBoundingBox" y1="0" x1="0" x2="0" y2=".1">
- <stop offset="0" style="stop-color:crimson"/>
- <stop offset="0.999999" style="stop-color:gold"/>
- <stop offset="1" style="stop-color:crimson"/>
+ <stop offset="0" style="stop-color:crimson"/>
+ <stop offset="0.999999" style="stop-color:gold"/>
+ <stop offset="1" style="stop-color:crimson"/>
</linearGradient>
<rect fill="url(#closeOffsetsLinearGradient)" x="35" y="80" width="80" height="40" />
<text class="legend" x="75" y="135">Two close offsets</text>
@@ -54,9 +54,9 @@
difference below the single precision floating
point</desc>
<linearGradient id="closeOffsetsLinearGradient2" gradientUnits="objectBoundingBox" y1="0" x1="0" x2="0" y2=".1">
- <stop offset="0" style="stop-color:crimson"/>
- <stop offset="0.99999999" style="stop-color:gold"/>
- <stop offset="1" style="stop-color:crimson"/>
+ <stop offset="0" style="stop-color:crimson"/>
+ <stop offset="0.99999999" style="stop-color:gold"/>
+ <stop offset="1" style="stop-color:crimson"/>
</linearGradient>
<rect fill="url(#closeOffsetsLinearGradient2)" x="35" y="80" width="80" height="40" />
<text class="legend" x="75" y="135">Two very close offsets</text>
@@ -68,9 +68,9 @@
<desc>The last two offsets of this radialGradient are
very close (0.000001) to one-another</desc>
<radialGradient id="closeOffsetsRadialGradient" gradientUnits="objectBoundingBox" r=".1">
- <stop offset="0" style="stop-color:crimson"/>
- <stop offset="0.999999" style="stop-color:gold"/>
- <stop offset="1" style="stop-color:crimson"/>
+ <stop offset="0" style="stop-color:crimson"/>
+ <stop offset="0.999999" style="stop-color:gold"/>
+ <stop offset="1" style="stop-color:crimson"/>
</radialGradient>
<rect fill="url(#closeOffsetsRadialGradient)" x="35" y="80" width="80" height="40" />
<text class="legend" x="75" y="135">Two close offsets</text>
@@ -82,9 +82,9 @@
<desc>The last two offsets of this radialGradient are
very close (0.00000001) to one-another</desc>
<radialGradient id="closeOffsetsRadialGradient2" gradientUnits="objectBoundingBox" r=".1">
- <stop offset="0" style="stop-color:crimson"/>
- <stop offset="0.99999999" style="stop-color:gold"/>
- <stop offset="1" style="stop-color:crimson"/>
+ <stop offset="0" style="stop-color:crimson"/>
+ <stop offset="0.99999999" style="stop-color:gold"/>
+ <stop offset="1" style="stop-color:crimson"/>
</radialGradient>
<rect fill="url(#closeOffsetsRadialGradient2)" x="35" y="80" width="80" height="40" />
<text class="legend" x="75" y="135">Two very close offsets</text>
@@ -96,8 +96,8 @@
<desc>The y coordinates on the gradient are close
(0.00000001) to one-another</desc>
<linearGradient id="closeControlsLinearGradient" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="0" y2="0.00000001">
- <stop offset="0" stop-color="gold"/>
- <stop offset="1" stop-color="crimson"/>
+ <stop offset="0" stop-color="gold"/>
+ <stop offset="1" stop-color="crimson"/>
</linearGradient>
<rect fill="url(#closeControlsLinearGradient)" x=".35" y=".8" width=".8" height=".4" transform="scale(100)"/>
<text class="legend" x="75" y="135">Close control points</text>
@@ -109,8 +109,8 @@
<desc>The radialGradient has a very small
(0.00000001) radius</desc>
<radialGradient id="smallRadiusRadialGradient" gradientUnits="objectBoundingBox" r="0.00000001">
- <stop offset="0" stop-color="gold"/>
- <stop offset="1" stop-color="crimson"/>
+ <stop offset="0" stop-color="gold"/>
+ <stop offset="1" stop-color="crimson"/>
</radialGradient>
<rect fill="url(#smallRadiusRadialGradient)" x=".35" y=".8" width=".8" height=".4" transform="scale(100)"/>
<text class="legend" x="75" y="135">Small Radius</text>
Modified: xmlgraphics/batik/trunk/samples/tests/spec/paints/linearGradientOrientation.svg
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/samples/tests/spec/paints/linearGradientOrientation.svg?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/samples/tests/spec/paints/linearGradientOrientation.svg (original)
+++ xmlgraphics/batik/trunk/samples/tests/spec/paints/linearGradientOrientation.svg Thu Nov 16 03:16:05 2006
@@ -41,89 +41,89 @@
<!-- ############################### -->
<g id="board" style="fill:none; stroke:black;">
- <rect x="75" y="100" width="150" height="20" style="fill:#eee"/>
- <rect x="225" y="100" width="150" height="20" style="fill:#eee"/>
- <rect x="75" y="120" width="150" height="50" />
- <rect x="225" y="120" width="150" height="50" />
- <g transform="translate(0 80)">
- <rect x="75" y="100" width="150" height="20" style="fill:#eee"/>
- <rect x="225" y="100" width="150" height="20" style="fill:#eee"/>
- <rect x="75" y="120" width="150" height="50" />
- <rect x="225" y="120" width="150" height="50" />
- </g>
- <g transform="translate(0 180)">
- <rect x="75" y="100" width="150" height="20" style="fill:#eee"/>
- <rect x="225" y="100" width="150" height="20" style="fill:#eee"/>
- <rect x="75" y="120" width="150" height="50" />
- <rect x="225" y="120" width="150" height="50" />
- </g>
- <g transform="translate(0 260)">
- <rect x="75" y="100" width="150" height="20" style="fill:#eee"/>
- <rect x="225" y="100" width="150" height="20" style="fill:#eee"/>
- <rect x="75" y="120" width="150" height="50" />
- <rect x="225" y="120" width="150" height="50" />
- </g>
- <g transform="translate(75 340)">
- <rect x="75" y="100" width="150" height="20" style="fill:#eee"/>
- <rect x="75" y="120" width="150" height="50" />
- </g>
- <g style="stroke:none; fill:black; text-anchor:middle; font-size:12">
- <text x="150" y="114">x1 < x2 / y1 = y2</text>
- <text x="300" y="114">x1 > x2 / y1 = y2</text>
-
- <g transform="translate(0 80)">
- <text x="150" y="114">x1 = x2 / y1 < y2</text>
- <text x="300" y="114">x1 = x2 / y1 > y2</text>
- </g>
- <g transform="translate(0 180)">
- <text x="150" y="114">x1 < x2 / y1 < y2</text>
- <text x="300" y="114">x1 < x2 / y1 > y2</text>
- </g>
- <g transform="translate(0 260)">
- <text x="150" y="114">x1 > x2 / y1 < y2</text>
- <text x="300" y="114">x1 > x2 / y1 > y2</text>
- </g>
- <g transform="translate(75 340)">
- <text x="150" y="114">x1 = x2 = y1 = y2</text>
- </g>
- </g>
+ <rect x="75" y="100" width="150" height="20" style="fill:#eee"/>
+ <rect x="225" y="100" width="150" height="20" style="fill:#eee"/>
+ <rect x="75" y="120" width="150" height="50" />
+ <rect x="225" y="120" width="150" height="50" />
+ <g transform="translate(0 80)">
+ <rect x="75" y="100" width="150" height="20" style="fill:#eee"/>
+ <rect x="225" y="100" width="150" height="20" style="fill:#eee"/>
+ <rect x="75" y="120" width="150" height="50" />
+ <rect x="225" y="120" width="150" height="50" />
+ </g>
+ <g transform="translate(0 180)">
+ <rect x="75" y="100" width="150" height="20" style="fill:#eee"/>
+ <rect x="225" y="100" width="150" height="20" style="fill:#eee"/>
+ <rect x="75" y="120" width="150" height="50" />
+ <rect x="225" y="120" width="150" height="50" />
+ </g>
+ <g transform="translate(0 260)">
+ <rect x="75" y="100" width="150" height="20" style="fill:#eee"/>
+ <rect x="225" y="100" width="150" height="20" style="fill:#eee"/>
+ <rect x="75" y="120" width="150" height="50" />
+ <rect x="225" y="120" width="150" height="50" />
+ </g>
+ <g transform="translate(75 340)">
+ <rect x="75" y="100" width="150" height="20" style="fill:#eee"/>
+ <rect x="75" y="120" width="150" height="50" />
+ </g>
+ <g style="stroke:none; fill:black; text-anchor:middle; font-size:12">
+ <text x="150" y="114">x1 < x2 / y1 = y2</text>
+ <text x="300" y="114">x1 > x2 / y1 = y2</text>
+
+ <g transform="translate(0 80)">
+ <text x="150" y="114">x1 = x2 / y1 < y2</text>
+ <text x="300" y="114">x1 = x2 / y1 > y2</text>
+ </g>
+ <g transform="translate(0 180)">
+ <text x="150" y="114">x1 < x2 / y1 < y2</text>
+ <text x="300" y="114">x1 < x2 / y1 > y2</text>
+ </g>
+ <g transform="translate(0 260)">
+ <text x="150" y="114">x1 > x2 / y1 < y2</text>
+ <text x="300" y="114">x1 > x2 / y1 > y2</text>
+ </g>
+ <g transform="translate(75 340)">
+ <text x="150" y="114">x1 = x2 = y1 = y2</text>
+ </g>
+ </g>
</g>
<!-- ############################### -->
<defs>
- <linearGradient id="genericGrad">
- <stop style="stop-color:crimson" offset="0" />
- <stop style="stop-color:orange" offset=".5" />
- <stop style="stop-color:gold" offset="1" />
- </linearGradient>
- <!-- ### first board ### -->
- <linearGradient id="grad1" x1="0" y1="1" x2="1" y2="1"
- xlink:href="#genericGrad" />
- <linearGradient id="grad2" x1="1" y1="1" x2="0" y2="1"
- xlink:href="#genericGrad" />
-
- <!-- ### second board ### -->
- <linearGradient id="grad3" x1="0" y1="0" x2="0" y2="1"
- xlink:href="#genericGrad" />
- <linearGradient id="grad4" x1="0" y1="1" x2="0" y2="0"
- xlink:href="#genericGrad" />
-
- <!-- ### third board ### -->
- <linearGradient id="grad5" x1="0" y1="0" x2="1" y2="1"
- xlink:href="#genericGrad" />
- <linearGradient id="grad6" x1="0" y1="1" x2="1" y2="0"
- xlink:href="#genericGrad" />
-
- <!-- ### fourth board ### -->
- <linearGradient id="grad7" x1="1" y1="0" x2="0" y2="1"
- xlink:href="#genericGrad" />
- <linearGradient id="grad8" x1="1" y1="1" x2="0" y2="0"
- xlink:href="#genericGrad" />
-
- <!-- ### fifth board ### -->
- <linearGradient id="grad9" x1=".5" y1=".5" x2=".5" y2=".5"
- xlink:href="#genericGrad" />
+ <linearGradient id="genericGrad">
+ <stop style="stop-color:crimson" offset="0" />
+ <stop style="stop-color:orange" offset=".5" />
+ <stop style="stop-color:gold" offset="1" />
+ </linearGradient>
+ <!-- ### first board ### -->
+ <linearGradient id="grad1" x1="0" y1="1" x2="1" y2="1"
+ xlink:href="#genericGrad" />
+ <linearGradient id="grad2" x1="1" y1="1" x2="0" y2="1"
+ xlink:href="#genericGrad" />
+
+ <!-- ### second board ### -->
+ <linearGradient id="grad3" x1="0" y1="0" x2="0" y2="1"
+ xlink:href="#genericGrad" />
+ <linearGradient id="grad4" x1="0" y1="1" x2="0" y2="0"
+ xlink:href="#genericGrad" />
+
+ <!-- ### third board ### -->
+ <linearGradient id="grad5" x1="0" y1="0" x2="1" y2="1"
+ xlink:href="#genericGrad" />
+ <linearGradient id="grad6" x1="0" y1="1" x2="1" y2="0"
+ xlink:href="#genericGrad" />
+
+ <!-- ### fourth board ### -->
+ <linearGradient id="grad7" x1="1" y1="0" x2="0" y2="1"
+ xlink:href="#genericGrad" />
+ <linearGradient id="grad8" x1="1" y1="1" x2="0" y2="0"
+ xlink:href="#genericGrad" />
+
+ <!-- ### fifth board ### -->
+ <linearGradient id="grad9" x1=".5" y1=".5" x2=".5" y2=".5"
+ xlink:href="#genericGrad" />
</defs>
@@ -132,22 +132,22 @@
<rect x="235" y="130" width="130" height="30" fill="url(#grad2)"/>
<g transform="translate(0 80)">
- <rect x="85" y="130" width="130" height="30" fill="url(#grad3)"/>
- <rect x="235" y="130" width="130" height="30" fill="url(#grad4)"/>
+ <rect x="85" y="130" width="130" height="30" fill="url(#grad3)"/>
+ <rect x="235" y="130" width="130" height="30" fill="url(#grad4)"/>
</g>
<g transform="translate(0 180)">
- <rect x="85" y="130" width="130" height="30" fill="url(#grad5)"/>
- <rect x="235" y="130" width="130" height="30" fill="url(#grad6)"/>
+ <rect x="85" y="130" width="130" height="30" fill="url(#grad5)"/>
+ <rect x="235" y="130" width="130" height="30" fill="url(#grad6)"/>
</g>
<g transform="translate(0 260)">
- <rect x="85" y="130" width="130" height="30" fill="url(#grad7)"/>
- <rect x="235" y="130" width="130" height="30" fill="url(#grad8)"/>
+ <rect x="85" y="130" width="130" height="30" fill="url(#grad7)"/>
+ <rect x="235" y="130" width="130" height="30" fill="url(#grad8)"/>
</g>
<g transform="translate(75 340)">
- <rect x="85" y="130" width="130" height="30" fill="url(#grad9)"/>
+ <rect x="85" y="130" width="130" height="30" fill="url(#grad9)"/>
</g>
</g>
Modified: xmlgraphics/batik/trunk/samples/tests/spec/paints/radialGradientOrientation.svg
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/samples/tests/spec/paints/radialGradientOrientation.svg?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/samples/tests/spec/paints/radialGradientOrientation.svg (original)
+++ xmlgraphics/batik/trunk/samples/tests/spec/paints/radialGradientOrientation.svg Thu Nov 16 03:16:05 2006
@@ -40,83 +40,83 @@
<!-- ############################### -->
<g id="board" style="fill:none; stroke:black;">
- <rect x="75" y="100" width="100" height="20" style="fill:#eee"/>
- <rect x="175" y="100" width="100" height="20" style="fill:#eee"/>
- <rect x="275" y="100" width="100" height="20" style="fill:#eee"/>
- <rect x="75" y="120" width="100" height="50" />
- <rect x="175" y="120" width="100" height="50" />
- <rect x="275" y="120" width="100" height="50" />
- <g transform="translate(0 80)">
- <rect x="75" y="100" width="100" height="20" style="fill:#eee"/>
- <rect x="175" y="100" width="100" height="20" style="fill:#eee"/>
- <rect x="275" y="100" width="100" height="20" style="fill:#eee"/>
- <rect x="75" y="120" width="100" height="50" />
- <rect x="175" y="120" width="100" height="50" />
- <rect x="275" y="120" width="100" height="50" />
- </g>
- <g transform="translate(0 160)">
- <rect x="75" y="100" width="100" height="20" style="fill:#eee"/>
- <rect x="175" y="100" width="100" height="20" style="fill:#eee"/>
- <rect x="275" y="100" width="100" height="20" style="fill:#eee"/>
- <rect x="75" y="120" width="100" height="50" />
- <rect x="175" y="120" width="100" height="50" />
- <rect x="275" y="120" width="100" height="50" />
- </g>
- <g transform="translate(0 240)">
- <rect x="175" y="100" width="100" height="20" style="fill:#eee"/>
- <rect x="175" y="120" width="100" height="50" />
- </g>
- <g style="stroke:none; fill:black; text-anchor:middle; font-size:12">
- <text x="125" y="114">cx = cy / fx < fy</text>
- <text x="225" y="114">cx = cy / fx > fy</text>
- <text x="325" y="114">cx = cy / fx = fy</text>
- <g transform="translate(0 80)">
- <text x="125" y="114">cx < cy / fx < fy</text>
- <text x="225" y="114">cx < cy / fx > fy</text>
- <text x="325" y="114">cx < cy / fx = fy</text>
- </g>
- <g transform="translate(0 160)">
- <text x="125" y="114">cx > cy / fx < fy</text>
- <text x="225" y="114">cx > cy / fx > fy</text>
- <text x="325" y="114">cx > cy / fx = fy</text>
- </g>
- <g transform="translate(0 240)">
- <text x="225" y="114">r = 0</text>
- </g>
- </g>
+ <rect x="75" y="100" width="100" height="20" style="fill:#eee"/>
+ <rect x="175" y="100" width="100" height="20" style="fill:#eee"/>
+ <rect x="275" y="100" width="100" height="20" style="fill:#eee"/>
+ <rect x="75" y="120" width="100" height="50" />
+ <rect x="175" y="120" width="100" height="50" />
+ <rect x="275" y="120" width="100" height="50" />
+ <g transform="translate(0 80)">
+ <rect x="75" y="100" width="100" height="20" style="fill:#eee"/>
+ <rect x="175" y="100" width="100" height="20" style="fill:#eee"/>
+ <rect x="275" y="100" width="100" height="20" style="fill:#eee"/>
+ <rect x="75" y="120" width="100" height="50" />
+ <rect x="175" y="120" width="100" height="50" />
+ <rect x="275" y="120" width="100" height="50" />
+ </g>
+ <g transform="translate(0 160)">
+ <rect x="75" y="100" width="100" height="20" style="fill:#eee"/>
+ <rect x="175" y="100" width="100" height="20" style="fill:#eee"/>
+ <rect x="275" y="100" width="100" height="20" style="fill:#eee"/>
+ <rect x="75" y="120" width="100" height="50" />
+ <rect x="175" y="120" width="100" height="50" />
+ <rect x="275" y="120" width="100" height="50" />
+ </g>
+ <g transform="translate(0 240)">
+ <rect x="175" y="100" width="100" height="20" style="fill:#eee"/>
+ <rect x="175" y="120" width="100" height="50" />
+ </g>
+ <g style="stroke:none; fill:black; text-anchor:middle; font-size:12">
+ <text x="125" y="114">cx = cy / fx < fy</text>
+ <text x="225" y="114">cx = cy / fx > fy</text>
+ <text x="325" y="114">cx = cy / fx = fy</text>
+ <g transform="translate(0 80)">
+ <text x="125" y="114">cx < cy / fx < fy</text>
+ <text x="225" y="114">cx < cy / fx > fy</text>
+ <text x="325" y="114">cx < cy / fx = fy</text>
+ </g>
+ <g transform="translate(0 160)">
+ <text x="125" y="114">cx > cy / fx < fy</text>
+ <text x="225" y="114">cx > cy / fx > fy</text>
+ <text x="325" y="114">cx > cy / fx = fy</text>
+ </g>
+ <g transform="translate(0 240)">
+ <text x="225" y="114">r = 0</text>
+ </g>
+ </g>
</g>
<!-- ############################### -->
<defs>
- <radialGradient id="genericGrad">
- <stop style="stop-color:crimson" offset="0" />
- <stop style="stop-color:orange" offset=".5" />
- <stop style="stop-color:gold" offset="1" />
- </radialGradient>
-
- <radialGradient id="grad1" cx=".5" cy=".5" fx="0" fy="1" r=".5"
- xlink:href="#genericGrad" />
- <radialGradient id="grad2" cx=".5" cy=".5" fx="1" fy="0" r=".5"
- xlink:href="#genericGrad" />
- <radialGradient id="grad3" cx=".5" cy=".5" fx=".5" fy=".5" r=".5"
- xlink:href="#genericGrad" />
-
- <radialGradient id="grad4" cx="0" cy="1" fx="0" fy="1" r=".5"
- xlink:href="#genericGrad" />
- <radialGradient id="grad5" cx="0" cy="1" fx="1" fy="0" r=".5"
- xlink:href="#genericGrad" />
- <radialGradient id="grad6" cx="0" cy="1" fx=".5" fy=".5" r=".5"
- xlink:href="#genericGrad" />
-
- <radialGradient id="grad7" cx="1" cy="0" fx="0" fy="1" r=".5"
- xlink:href="#genericGrad" />
- <radialGradient id="grad8" cx="1" cy="0" fx="1" fy="0" r=".5"
- xlink:href="#genericGrad" />
- <radialGradient id="grad9" cx="1" cy="0" fx=".5" fy=".5" r=".5"
- xlink:href="#genericGrad" />
+ <radialGradient id="genericGrad">
+ <stop style="stop-color:crimson" offset="0" />
+ <stop style="stop-color:orange" offset=".5" />
+ <stop style="stop-color:gold" offset="1" />
+ </radialGradient>
+
+ <radialGradient id="grad1" cx=".5" cy=".5" fx="0" fy="1" r=".5"
+ xlink:href="#genericGrad" />
+ <radialGradient id="grad2" cx=".5" cy=".5" fx="1" fy="0" r=".5"
+ xlink:href="#genericGrad" />
+ <radialGradient id="grad3" cx=".5" cy=".5" fx=".5" fy=".5" r=".5"
+ xlink:href="#genericGrad" />
+
+ <radialGradient id="grad4" cx="0" cy="1" fx="0" fy="1" r=".5"
+ xlink:href="#genericGrad" />
+ <radialGradient id="grad5" cx="0" cy="1" fx="1" fy="0" r=".5"
+ xlink:href="#genericGrad" />
+ <radialGradient id="grad6" cx="0" cy="1" fx=".5" fy=".5" r=".5"
+ xlink:href="#genericGrad" />
+
+ <radialGradient id="grad7" cx="1" cy="0" fx="0" fy="1" r=".5"
+ xlink:href="#genericGrad" />
+ <radialGradient id="grad8" cx="1" cy="0" fx="1" fy="0" r=".5"
+ xlink:href="#genericGrad" />
+ <radialGradient id="grad9" cx="1" cy="0" fx=".5" fy=".5" r=".5"
+ xlink:href="#genericGrad" />
- <radialGradient id="grad10" r="0" xlink:href="#genericGrad" />
+ <radialGradient id="grad10" r="0" xlink:href="#genericGrad" />
</defs>
<circle cx="125" cy="145" r="20" style="fill:url(#grad1)"/>
@@ -124,19 +124,19 @@
<circle cx="325" cy="145" r="20" style="fill:url(#grad3)"/>
<g transform="translate(0 80)">
- <circle cx="125" cy="145" r="20" style="fill:url(#grad4)"/>
- <circle cx="225" cy="145" r="20" style="fill:url(#grad5)"/>
- <circle cx="325" cy="145" r="20" style="fill:url(#grad6)"/>
+ <circle cx="125" cy="145" r="20" style="fill:url(#grad4)"/>
+ <circle cx="225" cy="145" r="20" style="fill:url(#grad5)"/>
+ <circle cx="325" cy="145" r="20" style="fill:url(#grad6)"/>
</g>
<g transform="translate(0 160)">
- <circle cx="125" cy="145" r="20" style="fill:url(#grad7)"/>
- <circle cx="225" cy="145" r="20" style="fill:url(#grad8)"/>
- <circle cx="325" cy="145" r="20" style="fill:url(#grad9)"/>
+ <circle cx="125" cy="145" r="20" style="fill:url(#grad7)"/>
+ <circle cx="225" cy="145" r="20" style="fill:url(#grad8)"/>
+ <circle cx="325" cy="145" r="20" style="fill:url(#grad9)"/>
</g>
<g transform="translate(0 240)">
- <circle cx="225" cy="145" r="20" style="fill:url(#grad10)"/>
+ <circle cx="225" cy="145" r="20" style="fill:url(#grad10)"/>
</g>
</g>
Modified: xmlgraphics/batik/trunk/samples/tests/spec/scripting/alert.svg
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/samples/tests/spec/scripting/alert.svg?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/samples/tests/spec/scripting/alert.svg (original)
+++ xmlgraphics/batik/trunk/samples/tests/spec/scripting/alert.svg Thu Nov 16 03:16:05 2006
@@ -34,13 +34,13 @@
<title>Alert on mouse events</title>
<defs>
- <script type="text/ecmascript">
+ <script type="text/ecmascript">
- function showDialog(msg) {
- alert(msg);
- }
+ function showDialog(msg) {
+ alert(msg);
+ }
- </script>
+ </script>
</defs>
<!-- ============================================================= -->
@@ -51,50 +51,50 @@
</g>
- <!-- ########## board ############ -->
- <g style="stroke:black">
- <g>
- <rect x="50" y="60" width="350" height="20" style="fill:#eee"/>
- <rect x="50" y="80" width="350" height="60" style="fill:none"/>
- </g>
- <g transform="translate(0 80)">
- <rect x="50" y="60" width="350" height="20" style="fill:#eee"/>
- <rect x="50" y="80" width="350" height="60" style="fill:none"/>
- </g>
- <g transform="translate(0 160)">
- <rect x="50" y="60" width="350" height="20" style="fill:#eee"/>
- <rect x="50" y="80" width="350" height="60" style="fill:none"/>
- </g>
- <line x1="225" y1="60" x2="225" y2="300" />
- </g>
- <g style="fill:black; stroke:none; text-anchor:middle; font-size:14">
- <g>
- <text x="137.5" y="75">mousedown</text>
- <text x="312.5" y="75">mouseup</text>
- </g>
- <g transform="translate(0 80)">
- <text x="137.5" y="75">mouseover</text>
- <text x="312.5" y="75">mouseout</text>
- </g>
- <g transform="translate(0 160)">
- <text x="137.5" y="75">mousemove</text>
- <text x="312.5" y="75">onclick</text>
- </g>
- </g>
-
- <!-- ########## content ############ -->
- <g>
- <circle cx="137.5" cy="110" r="20" style="fill:crimson" onmousedown="showDialog('onmousedown')"/>
- <circle cx="312.5" cy="110" r="20" style="fill:crimson" onmouseup="showDialog('onmouseup')"/>
- </g>
- <g transform="translate(0 80)">
- <circle cx="137.5" cy="110" r="20" style="fill:crimson" onmouseover="showDialog('onmouseover')"/>
- <circle cx="312.5" cy="110" r="20" style="fill:crimson" onmouseout="showDialog('onmouseout')"/>
- </g>
- <g transform="translate(0 160)">
- <circle cx="137.5" cy="110" r="20" style="fill:crimson" onmousemove="showDialog('onmousemove')"/>
- <circle cx="312.5" cy="110" r="20" style="fill:crimson" onclick="showDialog('onclick')"/>
- </g>
+ <!-- ########## board ############ -->
+ <g style="stroke:black">
+ <g>
+ <rect x="50" y="60" width="350" height="20" style="fill:#eee"/>
+ <rect x="50" y="80" width="350" height="60" style="fill:none"/>
+ </g>
+ <g transform="translate(0 80)">
+ <rect x="50" y="60" width="350" height="20" style="fill:#eee"/>
+ <rect x="50" y="80" width="350" height="60" style="fill:none"/>
+ </g>
+ <g transform="translate(0 160)">
+ <rect x="50" y="60" width="350" height="20" style="fill:#eee"/>
+ <rect x="50" y="80" width="350" height="60" style="fill:none"/>
+ </g>
+ <line x1="225" y1="60" x2="225" y2="300" />
+ </g>
+ <g style="fill:black; stroke:none; text-anchor:middle; font-size:14">
+ <g>
+ <text x="137.5" y="75">mousedown</text>
+ <text x="312.5" y="75">mouseup</text>
+ </g>
+ <g transform="translate(0 80)">
+ <text x="137.5" y="75">mouseover</text>
+ <text x="312.5" y="75">mouseout</text>
+ </g>
+ <g transform="translate(0 160)">
+ <text x="137.5" y="75">mousemove</text>
+ <text x="312.5" y="75">onclick</text>
+ </g>
+ </g>
+
+ <!-- ########## content ############ -->
+ <g>
+ <circle cx="137.5" cy="110" r="20" style="fill:crimson" onmousedown="showDialog('onmousedown')"/>
+ <circle cx="312.5" cy="110" r="20" style="fill:crimson" onmouseup="showDialog('onmouseup')"/>
+ </g>
+ <g transform="translate(0 80)">
+ <circle cx="137.5" cy="110" r="20" style="fill:crimson" onmouseover="showDialog('onmouseover')"/>
+ <circle cx="312.5" cy="110" r="20" style="fill:crimson" onmouseout="showDialog('onmouseout')"/>
+ </g>
+ <g transform="translate(0 160)">
+ <circle cx="137.5" cy="110" r="20" style="fill:crimson" onmousemove="showDialog('onmousemove')"/>
+ <circle cx="312.5" cy="110" r="20" style="fill:crimson" onclick="showDialog('onclick')"/>
+ </g>
<!-- ============================================================= -->
Modified: xmlgraphics/batik/trunk/samples/tests/spec/scripting/boundsTransformChange.svg
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/samples/tests/spec/scripting/boundsTransformChange.svg?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/samples/tests/spec/scripting/boundsTransformChange.svg (original)
+++ xmlgraphics/batik/trunk/samples/tests/spec/scripting/boundsTransformChange.svg Thu Nov 16 03:16:05 2006
@@ -38,21 +38,21 @@
computed.</desc>
<script type="text/ecmascript"><![CDATA[
var inRegard=false;
- var time1 = 90;
- function updateGroup1() {
+ var time1 = 90;
+ function updateGroup1() {
var elt = document.getElementById("g1");
- var fs = Math.cos(time1*2*3.1415926/180)*12+24;
+ var fs = Math.cos(time1*2*3.1415926/180)*12+24;
elt.setAttribute("font-size",fs);
- var x = Math.cos(time1*3.1415926/180)*100 + 225;
- var y = Math.sin(.5*(time1+90)*3.1415926/180)*150 + 250;
+ var x = Math.cos(time1*3.1415926/180)*100 + 225;
+ var y = Math.sin(.5*(time1+90)*3.1415926/180)*150 + 250;
elt.setAttribute("transform", "translate("+x+","+y+")");
- time1 += 20;
+ time1 += 20;
if (inRegard && (time1 >= 270))
regardTestInstance.scriptDone();
else
setTimeout('updateGroup1()', 100);
- }
+ }
function regardStart() {
inRegard = true;
}
Modified: xmlgraphics/batik/trunk/samples/tests/spec/scripting/currentScaleTranslate.svg
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/samples/tests/spec/scripting/currentScaleTranslate.svg?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/samples/tests/spec/scripting/currentScaleTranslate.svg (original)
+++ xmlgraphics/batik/trunk/samples/tests/spec/scripting/currentScaleTranslate.svg Thu Nov 16 03:16:05 2006
@@ -37,66 +37,66 @@
<title>svg current scale/translate modification</title>
<script type="text/ecmascript"><![CDATA[
- var count = 1;
- function setScaleTrans(scale, newX, newY) {
- document.getRootElement().currentScale = scale;
- var pt = document.getRootElement().currentTranslate;
- pt.x = newX;
- pt.y = newX;
- }
-
- function update() {
- if ((count%10) == 0) {
- var scale = 1+((count/10)%10)/4;
+ var count = 1;
+ function setScaleTrans(scale, newX, newY) {
+ document.getRootElement().currentScale = scale;
+ var pt = document.getRootElement().currentTranslate;
+ pt.x = newX;
+ pt.y = newX;
+ }
+
+ function update() {
+ if ((count%10) == 0) {
+ var scale = 1+((count/10)%10)/4;
document.getRootElement().currentScale = scale;
- }
+ }
- var t;
- var mat;
+ var t;
+ var mat;
t = document.getElementById('cnt');
- t.firstChild.data = ("Count: " + count);
+ t.firstChild.data = ("Count: " + count);
- mat = t.getScreenCTM();
+ mat = t.getScreenCTM();
t = document.getElementById('foo');
- t.firstChild.data =
- "The ScrnCTM is: (" + mat.a +","+ mat.b +","+ mat.c +","+ mat.d +","+ mat.e +","+ mat.f +")";
+ t.firstChild.data =
+ "The ScrnCTM is: (" + mat.a +","+ mat.b +","+ mat.c +","+ mat.d +","+ mat.e +","+ mat.f +")";
- mat = t.getCTM();
+ mat = t.getCTM();
t = document.getElementById('bar');
- t.firstChild.data =
- "The CTM is: (" + mat.a +","+ mat.b +","+ mat.c +","+ mat.d +","+ mat.e +","+ mat.f +")";
+ t.firstChild.data =
+ "The CTM is: (" + mat.a +","+ mat.b +","+ mat.c +","+ mat.d +","+ mat.e +","+ mat.f +")";
- var scale = document.getRootElement().currentScale;
+ var scale = document.getRootElement().currentScale;
t = document.getElementById('baz');
- t.firstChild.data = "The Scale is: "+scale;
+ t.firstChild.data = "The Scale is: "+scale;
- var trans = document.getRootElement().currentTranslate;
+ var trans = document.getRootElement().currentTranslate;
t = document.getElementById('bat');
- t.firstChild.data = "The Trans is ["+trans.x+", " +trans.y+"]";
+ t.firstChild.data = "The Trans is ["+trans.x+", " +trans.y+"]";
t = document.getElementById('vp');
- var vp = document.rootElement.viewport;
- t.firstChild.data = ("Viewport: ["+ vp.x+", " +vp.y+", " +
- vp.width+", " +vp.height+"]");
-
- count++;
- setTimeout('update()', 1000);
- }
-
- function mouseOver(evt) {
- t = document.getElementById('rec');
- var x = evt.getClientX();
- var y = evt.getClientY();
- mat = t.getScreenCTM();
- imat = mat.inverse();
- var pt = document.getRootElement().createSVGPoint();
- pt.x = x;
- pt.y = y;
- pt = pt.matrixTransform(imat);
- t.firstChild.data = ("Loc: [" + evt.getClientX() + ", " +
- evt.getClientY() + "] [" +
- pt.x + ", " + pt.y + "]");
- }
+ var vp = document.rootElement.viewport;
+ t.firstChild.data = ("Viewport: ["+ vp.x+", " +vp.y+", " +
+ vp.width+", " +vp.height+"]");
+
+ count++;
+ setTimeout('update()', 1000);
+ }
+
+ function mouseOver(evt) {
+ t = document.getElementById('rec');
+ var x = evt.getClientX();
+ var y = evt.getClientY();
+ mat = t.getScreenCTM();
+ imat = mat.inverse();
+ var pt = document.getRootElement().createSVGPoint();
+ pt.x = x;
+ pt.y = y;
+ pt = pt.matrixTransform(imat);
+ t.firstChild.data = ("Loc: [" + evt.getClientX() + ", " +
+ evt.getClientY() + "] [" +
+ pt.x + ", " + pt.y + "]");
+ }
]]></script>
<g id="test-content">
Modified: xmlgraphics/batik/trunk/samples/tests/spec/scripting/image.svg
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/samples/tests/spec/scripting/image.svg?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/samples/tests/spec/scripting/image.svg (original)
+++ xmlgraphics/batik/trunk/samples/tests/spec/scripting/image.svg Thu Nov 16 03:16:05 2006
@@ -53,40 +53,40 @@
<text class="title" x="50%" y="40"><image> dynamic tests</text>
<defs>
- <rect id="Rect1" x="40" y="-20" width="100" height="40" />
- <rect id="Rect2" x="60" y="-60" width="40" height="100" />
+ <rect id="Rect1" x="40" y="-20" width="100" height="40" />
+ <rect id="Rect2" x="60" y="-60" width="40" height="100" />
</defs>
- <g transform="translate(70,150)">
+ <g transform="translate(70,150)">
<use xlink:href="#Rect1" style="fill:none; stroke:blue; stroke-width:2"/>
- <image x="0" y="0" width="1" height="1" xlink:href="../../resources/images/svg.svg"
- onload="setPosition(evt,40,-20,100,40)"/>
+ <image x="0" y="0" width="1" height="1" xlink:href="../../resources/images/svg.svg"
+ onload="setPosition(evt,40,-20,100,40)"/>
<text font-size="10" x="35" y="60">SVG image <tspan x="40" dy="12"> x,y,width,height update</tspan></text>
- </g>
+ </g>
- <g transform="translate(230,150)">
+ <g transform="translate(230,150)">
<use xlink:href="#Rect2" style="fill:none; stroke:blue; stroke-width:2"/>
- <image x="60" y="-60" width="40" height="100" xlink:href="../../resources/images/svg.svg"
- onload="setPAR(evt,'none')"/>
+ <image x="60" y="-60" width="40" height="100" xlink:href="../../resources/images/svg.svg"
+ onload="setPAR(evt,'none')"/>
<text font-size="10" x="35" y="60">SVG Image : aspectRatio none</text>
- </g>
+ </g>
- <g transform="translate(70,300)">
+ <g transform="translate(70,300)">
<use xlink:href="#Rect2" style="fill:none; stroke:blue; stroke-width:2"/>
- <image x="60" y="-10" width="20" height="50" xlink:href="../../resources/images/svg.png"
- onload="setPosition(evt,60,-60,40,100)"/>
+ <image x="60" y="-10" width="20" height="50" xlink:href="../../resources/images/svg.png"
+ onload="setPosition(evt,60,-60,40,100)"/>
<text font-size="10" x="35" y="60">PNG Image <tspan x="40" dy="12"> x,y,width,height update</tspan></text>
- </g>
+ </g>
- <g transform="translate(230,300)">
+ <g transform="translate(230,300)">
<use xlink:href="#Rect1" style="fill:none; stroke:blue; stroke-width:2"/>
- <image x="40" y="-20" width="100" height="40" xlink:href="../../resources/images/svg.png"
- onload="setPAR(evt,'none')"/>
+ <image x="40" y="-20" width="100" height="40" xlink:href="../../resources/images/svg.png"
+ onload="setPAR(evt,'none')"/>
<text font-size="10" x="35" y="60">PNG Image : aspectRatio none</text>
- </g>
+ </g>
</g>
<!-- ============================================================= -->