[lasem] [SVG] Add linking reference images.



commit 937e24974f92fc10669a15d8b70fd814bf1ee8dd
Author: Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
Date:   Fri May 8 17:27:41 2009 +0200

    [SVG] Add linking reference images.
---
 .../svg/svg1.1/linking/images/linking-uri-01-b.svg |   88 ++++++++++++++++++++
 test/svg/svg1.1/linking/images/linkingCircle-f.svg |   25 ++++++
 test/svg/svg1.1/linking/images/linkingToc-t.svg    |   63 ++++++++++++++
 test/svg/svg1.1/linking/svg/linking-a-01-b.png     |  Bin 0 -> 12895 bytes
 test/svg/svg1.1/linking/svg/linking-a-02-b.png     |  Bin 0 -> 12895 bytes
 test/svg/svg1.1/linking/svg/linking-a-03-b.png     |  Bin 0 -> 11167 bytes
 test/svg/svg1.1/linking/svg/linking-a-04-t.png     |  Bin 0 -> 12853 bytes
 test/svg/svg1.1/linking/svg/linking-a-05-t.png     |  Bin 0 -> 25583 bytes
 test/svg/svg1.1/linking/svg/linking-a-06-t.png     |  Bin 0 -> 5732 bytes
 test/svg/svg1.1/linking/svg/linking-a-07-t.png     |  Bin 0 -> 12498 bytes
 test/svg/svg1.1/linking/svg/linking-a-08-t.png     |  Bin 0 -> 9261 bytes
 test/svg/svg1.1/linking/svg/linking-a-09-b.png     |  Bin 0 -> 11692 bytes
 test/svg/svg1.1/linking/svg/linking-uri-01-b.png   |  Bin 0 -> 29563 bytes
 test/svg/svg1.1/linking/svg/linking-uri-02-b.png   |  Bin 0 -> 30234 bytes
 test/svg/svg1.1/linking/svg/linking-uri-03-t.png   |  Bin 0 -> 20001 bytes
 15 files changed, 176 insertions(+), 0 deletions(-)

diff --git a/test/svg/svg1.1/linking/images/linking-uri-01-b.svg b/test/svg/svg1.1/linking/images/linking-uri-01-b.svg
new file mode 100755
index 0000000..febc3cb
--- /dev/null
+++ b/test/svg/svg1.1/linking/images/linking-uri-01-b.svg
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd";>
+
+<!--======================================================================-->
+<!--=  Copyright 2000 World Wide Web Consortium, (Massachusetts          =-->
+<!--=  Institute of Technology, Institut National de Recherche en        =-->
+<!--=  Informatique et en Automatique, Keio University). All Rights      =-->
+<!--=  Reserved. See http://www.w3.org/Consortium/Legal/.                =-->
+<!--======================================================================-->
+<!-- =====================================================================-->
+<!--                                                                      -->
+<!-- linking-uri-01-b.svg                                                 -->
+<!--                                                                      -->
+<!-- Link test of the 'view' element and its attributes, 1 of 2, internal.-->
+<!--                                                                      -->
+<!-- Note.  This is one of a pair, with linking-uri-02-b.svg, which is    -->
+<!-- identical except that all of it's links refer to the objects in      -->
+<!-- this file.                                                           -->
+<!--                                                                      -->
+<!-- Author : Lee Klosterman  01-February-2002                            -->
+<!-- Revised for Mobile Profiles: Jun Fujisawa 16-Jul-2002                -->
+<!--                                                                      -->
+<!-- History:                                                             -->
+<!--                                                                      -->
+<!-- =====================================================================-->
+<!--======================================================================-->
+<!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
+<!--= log messages, and therefore is no longer in the preceding preamble.=-->
+<!--======================================================================-->
+<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink";  id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
+
+
+    <title id="test-title">linking-uri-01-b</title>
+    <desc id="test-desc">Link test of the 'view' element and its attributes, 1 of 2, internal.</desc>
+    <!--======================================================================-->
+    <!--Content of Test Case follows...                  =====================-->
+    <!--======================================================================-->
+    <g id="test-body-content">
+    	<text x="65" y="16" font-size="12" >Link test of the 'view' element and its attributes, 1 of 2, internal.</text>
+    	<g transform="translate(-150,75)">
+    		<rect x="300" y="55" width="125" height="85" fill="#aaa" />
+    		<a xlink:href="#rect-view">
+    			<text x="320" y="70" fill="red" >Go to Rectangle</text>
+    		</a>
+    		<a xlink:href="#ellipse-view">
+    			<text x="320" y="90" fill="blue" >Go to Ellipse</text>
+    		</a>
+    		<a xlink:href="#circle-view">
+    			<text x="320" y="110" fill="yellow" >Go to Circle</text>
+    		</a>
+    		<a xlink:href="#polygon-view">
+    			<text x="320" y="130" fill="green" >Go to Polygon</text>
+    		</a>
+    		<text x="315" y="150" font-size="12" >Click element's line</text>
+    		<text x="315" y="162" font-size="12" >to link to its view</text>
+    	</g>
+        
+    	<!-- View with no attributes.  Picture should not change. -->
+    	<view id="rect-view"/>
+    	<rect id="rect-object" fill="red"  x="295" y="36" width="135" height="68"/>
+    	<text id="rect-label" x="340" y="116">Rectangle</text>
+    	<rect x="292" y="29" width="141" height="91" fill="none" stroke="black" />
+    	<text x="302" y="130" font-size="10" >No view attributes except id.</text>
+    	<!-- Test viewBox.  Should blow-up the ellipse in the frame. -->
+    	<view id="ellipse-view" viewBox="294 221 152 83"/>
+    	<ellipse id="ellipse-object" fill="blue"  cx="370" cy="251" rx="72" ry="32"/>
+    	<text id="ellipse-label" x="355" y="295">Ellipse</text>
+    	<rect x="295" y="216" width="150" height="82" fill="none" stroke="black" />
+    	<text x="315" y="214" font-size="10" >viewBox, should fill frame.</text>
+    	<!-- Test preserveAspectRatio. -->
+    	<view id="circle-view" viewBox="20 29 128 91.5" preserveAspectRatio="none"/>
+    	<circle id="circle-object" fill="yellow"  cx="85" cy="68" r="36"/>
+    	<text id="circle-label" x="70" y="116">Circle</text>
+    	<rect x="36" y="29" width="98" height="91" fill="none" stroke="black" />
+    	<text x="36" y="128" font-size="10" >viewBox &amp; non-uniform</text>
+    	<text x="36" y="137" font-size="10" >preserveAspectRatio</text>
+    	<!-- Test viewTarget attribute, should highlight the polygon. -->
+    	<view id="polygon-view" viewTarget="polygon-object"/>
+    	<polygon id="polygon-object" fill="green"  points="87,211 134,238 116,283 57,283 39,238 87,211"/>
+    	<text id="polygon-label" x="65" y="295">Polygon</text>
+    	<rect x="36" y="208" width="100" height="89" fill="none" stroke="black" />
+    	<text x="46" y="197" font-size="10" >viewTarget, should</text>
+    	<text x="46" y="206" font-size="10" >highlight polygon</text>
+    </g>
+    
+	<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.1 $</text>
+	<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+</svg>
diff --git a/test/svg/svg1.1/linking/images/linkingCircle-f.svg b/test/svg/svg1.1/linking/images/linkingCircle-f.svg
new file mode 100755
index 0000000..6490bc4
--- /dev/null
+++ b/test/svg/svg1.1/linking/images/linkingCircle-f.svg
@@ -0,0 +1,25 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd";>
+<!-- ===================================================================== -->
+<!-- linkingCircle-f.svg                                                     -->
+<!-- Auxiliary file for linking tests.                                     -->
+<!-- ====================================================================== -->
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; id="linkingCircle-f.svg" width="480" height="360">
+	<title id="test-title">linkingCircle-f.svg</title>
+	<desc id="test-desc">Some circles with ids, for linking tests.</desc>
+	<g id="test-body-content">
+		<text x="100" y="20" style="font-size:12">Some circles with ids, for linking tests.</text>
+		<circle id="circle-1" cx="220" cy="140" r="35" style="fill:red; stroke:black"/>
+		<text style="font-family:Helvetica;font-size:12" x="203" y="99">circle-1</text>
+		<circle id="circle-2" cx="100" cy="260" r="20" style="stroke:lime; fill:yellow; stroke-width:4"/>
+		<text style="font-family:Helvetica;font-size:12" x="80" y="295">circle-2</text>
+		<!-- Framing rect for circle-2 -->
+		<rect x="64" y="227" width="72" height="72" style="fill:none; stroke:black"/>
+		<circle id="circle-3" cx="340" cy="260" r="50" style="stroke:blue; fill:none; stroke-width:10"/>
+		<text style="font-family:Helvetica;font-size:12" x="320" y="332">circle-3</text>
+	</g>
+	<g id="test-legend">
+		<!-- Test-framing rectangle, drawn just inside viewport boundary. -->
+		<rect id="test-frame" x="1" y="1" width="478" height="358" style="fill:none; stroke:#000000"/>
+	</g>
+</svg>
diff --git a/test/svg/svg1.1/linking/images/linkingToc-t.svg b/test/svg/svg1.1/linking/images/linkingToc-t.svg
new file mode 100755
index 0000000..ee01e75
--- /dev/null
+++ b/test/svg/svg1.1/linking/images/linkingToc-t.svg
@@ -0,0 +1,63 @@
+<?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";> 
+  
+
+<!-- ========================================================  -->
+<!-- linkingToc.svg                                            -->
+<!--                                                           -->
+<!-- Auxiliary file for linking BE tests ... a Table of        -->
+<!-- Contents and index of the BE test cases.                  -->
+<!--                                                           -->
+<!--                                                           -->
+<!-- History:                                                  -->
+<!--  02-apr-2000, LH: Created.                                -->
+<!--  03-Aug-2000, LH: update DOCTYPE for CR DTD, 20000802;    -->
+<!--  23-Aug-2000, LH: fix it for rename of xlinkAttr-BE-02;   -->
+<!--  06-Feb-2002, LK: Modify for SVG 1.1 linking tests;       -->
+<!--                                                           -->
+<!-- ========================================================  -->
+<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; width="480" height="360" >
+
+   <text x="75" y="20" font-size="20">TOC &amp; index of linking tests.</text>
+
+   
+   <a xlink:href="../svg/linking-a-04-t.svg" > 
+     <text x="20" y="70" fill="blue" font-size="12">
+       1.) linking-a-04-t:  Verify basic links out of SVG content ('a').
+     </text> 
+   </a>
+
+   <a xlink:href="../svg/linking-uri-03-t.svg" > 
+     <text x="20" y="100" fill="blue" font-size="12">
+       2.) linking-uri-03-t:  Verify handling of xlink attributes on 'a'.
+     </text> 
+   </a>
+   
+   <a xlink:href="../svglinking-a-02-b.svg" > 
+     <text x="20" y="130" fill="blue" font-size="12">
+       3.) linking-a-02-b:  Verify links into SVG content and fragment syntax.
+     </text> 
+   </a>
+   
+   <a xlink:href="../svg/linking-uri-01-b.svg" > 
+     <text x="20" y="160" fill="blue" font-size="12">
+      4.) linking-uri-01-b:  Verify 'view' element handling.
+     </text> 
+   </a>
+ 
+   <a xlink:href="../svg/linking-uri-02-b.svg" > 
+     <text x="20" y="190" fill="blue" font-size="12">
+      5.) linking-uri-02-b:  Verify 'view' element handling (companion to linking-uri-01-f).
+     </text> 
+   </a>
+ 
+   <text x="20" y="230" fill="black" font-size="12">
+     [Note.  This is not a linking test, but a supplemental file and link
+   </text>
+   <text x="20" y="242">  
+     target for other linking tests.]
+   </text>
+
+   <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+
+</svg>
diff --git a/test/svg/svg1.1/linking/svg/linking-a-01-b.png b/test/svg/svg1.1/linking/svg/linking-a-01-b.png
new file mode 100755
index 0000000..d7012d3
Binary files /dev/null and b/test/svg/svg1.1/linking/svg/linking-a-01-b.png differ
diff --git a/test/svg/svg1.1/linking/svg/linking-a-02-b.png b/test/svg/svg1.1/linking/svg/linking-a-02-b.png
new file mode 100755
index 0000000..d7012d3
Binary files /dev/null and b/test/svg/svg1.1/linking/svg/linking-a-02-b.png differ
diff --git a/test/svg/svg1.1/linking/svg/linking-a-03-b.png b/test/svg/svg1.1/linking/svg/linking-a-03-b.png
new file mode 100755
index 0000000..f6ec002
Binary files /dev/null and b/test/svg/svg1.1/linking/svg/linking-a-03-b.png differ
diff --git a/test/svg/svg1.1/linking/svg/linking-a-04-t.png b/test/svg/svg1.1/linking/svg/linking-a-04-t.png
new file mode 100755
index 0000000..9098022
Binary files /dev/null and b/test/svg/svg1.1/linking/svg/linking-a-04-t.png differ
diff --git a/test/svg/svg1.1/linking/svg/linking-a-05-t.png b/test/svg/svg1.1/linking/svg/linking-a-05-t.png
new file mode 100755
index 0000000..1988bb8
Binary files /dev/null and b/test/svg/svg1.1/linking/svg/linking-a-05-t.png differ
diff --git a/test/svg/svg1.1/linking/svg/linking-a-06-t.png b/test/svg/svg1.1/linking/svg/linking-a-06-t.png
new file mode 100755
index 0000000..df862e1
Binary files /dev/null and b/test/svg/svg1.1/linking/svg/linking-a-06-t.png differ
diff --git a/test/svg/svg1.1/linking/svg/linking-a-07-t.png b/test/svg/svg1.1/linking/svg/linking-a-07-t.png
new file mode 100755
index 0000000..bf95c5f
Binary files /dev/null and b/test/svg/svg1.1/linking/svg/linking-a-07-t.png differ
diff --git a/test/svg/svg1.1/linking/svg/linking-a-08-t.png b/test/svg/svg1.1/linking/svg/linking-a-08-t.png
new file mode 100755
index 0000000..a592891
Binary files /dev/null and b/test/svg/svg1.1/linking/svg/linking-a-08-t.png differ
diff --git a/test/svg/svg1.1/linking/svg/linking-a-09-b.png b/test/svg/svg1.1/linking/svg/linking-a-09-b.png
new file mode 100755
index 0000000..7d40450
Binary files /dev/null and b/test/svg/svg1.1/linking/svg/linking-a-09-b.png differ
diff --git a/test/svg/svg1.1/linking/svg/linking-uri-01-b.png b/test/svg/svg1.1/linking/svg/linking-uri-01-b.png
new file mode 100755
index 0000000..a580bf1
Binary files /dev/null and b/test/svg/svg1.1/linking/svg/linking-uri-01-b.png differ
diff --git a/test/svg/svg1.1/linking/svg/linking-uri-02-b.png b/test/svg/svg1.1/linking/svg/linking-uri-02-b.png
new file mode 100755
index 0000000..0e7d9a0
Binary files /dev/null and b/test/svg/svg1.1/linking/svg/linking-uri-02-b.png differ
diff --git a/test/svg/svg1.1/linking/svg/linking-uri-03-t.png b/test/svg/svg1.1/linking/svg/linking-uri-03-t.png
new file mode 100755
index 0000000..30fb7ac
Binary files /dev/null and b/test/svg/svg1.1/linking/svg/linking-uri-03-t.png differ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]