|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd"> |
|
3 |
|
4 <!--======================================================================--> |
|
5 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =--> |
|
6 <!--= Institute of Technology, Institut National de Recherche en =--> |
|
7 <!--= Informatique et en Automatique, Keio University). All Rights =--> |
|
8 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =--> |
|
9 <!--======================================================================--> |
|
10 <!-- ===================================================================== --> |
|
11 <!-- --> |
|
12 <!-- shapes-line-01-t.svg --> |
|
13 <!-- --> |
|
14 <!-- Test ability to handle the 'line' basic-shapes element. --> |
|
15 <!-- --> |
|
16 <!-- This is a concatenation of the SVG spec example and the sample --> |
|
17 <!-- from the IBM SVGview distribution. --> |
|
18 <!-- --> |
|
19 <!-- Author : Lofton Henderson 23-Mar-2000 --> |
|
20 <!-- Revised for 1.1 : Tolga Capin 14-Feb-2002 --> |
|
21 <!-- --> |
|
22 <!-- History: --> |
|
23 <!-- 23-Mar-2000, LH: Serial#1 created. --> |
|
24 <!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . --> |
|
25 <!-- --> |
|
26 <!-- ===================================================================== --> |
|
27 <!--======================================================================--> |
|
28 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =--> |
|
29 <!--= log messages, and therefore is no longer in the preceding preamble.=--> |
|
30 <!--======================================================================--> |
|
31 <svg version="1.1" baseProfile="tiny" 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"> |
|
32 |
|
33 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/"> |
|
34 <OperatorScript version="$Revision: 1.6 $" testname="shapes-line-01-f.svg"> |
|
35 <Paragraph> |
|
36 The rendered picture should match the reference image, except |
|
37 for possible variations in the labelling text (per CSS2 rules). |
|
38 </Paragraph> |
|
39 </OperatorScript> |
|
40 </SVGTestCase> |
|
41 |
|
42 <title id="test-title">shapes-line-01-t</title> |
|
43 <desc id="test-desc">Test ability to handle the 'line' basic-shapes element.</desc> |
|
44 <!--======================================================================--> |
|
45 <!--Content of Test Case follows... =====================--> |
|
46 <!--======================================================================--> |
|
47 <g id="test-body-content"> |
|
48 <g id="diagonal-line-set"> |
|
49 <line x1="37.5" y1="137" x2="112.5" y2="50" fill="none" stroke="black" stroke-width="1" /> |
|
50 <line x1="112.5" y1="137" x2="187.5" y2="50" fill="none" stroke="red" stroke-width="5" /> |
|
51 <line x1="187.5" y1="137" x2="262.5" y2="50" fill="none" stroke="green" stroke-width="7.5" /> |
|
52 <line x1="262.5" y1="137" x2="337.5" y2="50" fill="none" stroke="blue" stroke-width="10" /> |
|
53 <line x1="337.5" y1="137" x2="412.5" y2="50" fill="none" stroke="fuchsia" stroke-width="12.5" /> |
|
54 </g> |
|
55 <g id="middle-figure" stroke="black" stroke-width="1" > |
|
56 <line x1="170" y1="200" x2="220" y2="200"/> |
|
57 <line x1="220" y1="200" x2="220" y2="250"/> |
|
58 <line x1="220" y1="250" x2="270" y2="250"/> |
|
59 <line x1="270" y1="250" x2="270" y2="200"/> |
|
60 <line x1="270" y1="200" x2="320" y2="200"/> |
|
61 </g> |
|
62 <g id="lower-left-figure" stroke="blue" stroke-width="10" > |
|
63 <line x1="25" y1="200" x2="75" y2="200"/> |
|
64 <line x1="75" y1="200" x2="75" y2="250"/> |
|
65 <line x1="75" y1="250" x2="125" y2="250"/> |
|
66 <line x1="125" y1="250" x2="125" y2="200"/> |
|
67 <line x1="125" y1="200" x2="175" y2="200"/> |
|
68 </g> |
|
69 <g id="lower-right-figure" stroke-width="10" > |
|
70 <line x1="370" y1="250" x2="420" y2="250" stroke="black" /> |
|
71 <line x1="420" y1="200" x2="470" y2="200" stroke="fuchsia" /> |
|
72 <line x1="320" y1="200" x2="370" y2="200" stroke="blue" /> |
|
73 <line x1="370" y1="200" x2="370" y2="250" stroke="green" /> |
|
74 <line x1="420" y1="250" x2="420" y2="200" stroke="red" /> |
|
75 </g> |
|
76 </g> |
|
77 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text> |
|
78 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> |
|
79 </svg> |
|
80 |