summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/1.1/shapes-line-01-t.svg
blob: e0bffae15bb535dce0107f183282f1c69b0c1c66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.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/.                =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!--                                                                       -->
<!-- shapes-line-01-t.svg                                                  -->
<!--                                                                       -->
<!-- Test ability to handle the 'line' basic-shapes element.               -->
<!--                                                                       -->
<!-- This is a concatenation of the SVG spec example and the sample        -->
<!-- from the IBM SVGview distribution.                                    -->
<!--                                                                       -->
<!-- Author : Lofton Henderson  23-Mar-2000                                -->
<!-- Revised for 1.1 : Tolga Capin 14-Feb-2002                             -->
<!--                                                                       -->
<!-- History:                                                              -->
<!--  23-Mar-2000, LH: Serial#1 created.                                   -->
<!--  03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# .        -->
<!--                                                                       -->
<!-- ===================================================================== -->
<!--======================================================================-->
<!--= 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="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">

    	<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
		<OperatorScript version="$Revision: 1.6 $" testname="shapes-line-01-f.svg">
            <Paragraph>
                The rendered picture should match the reference image, except
                for possible variations in the labelling text (per CSS2 rules).
            </Paragraph>
        </OperatorScript>
    	</SVGTestCase>
    
	<title id="test-title">shapes-line-01-t</title>
	<desc id="test-desc">Test ability to handle the 'line' basic-shapes element.</desc>
	<!--======================================================================-->
	<!--Content of Test Case follows...                  =====================-->
	<!--======================================================================-->
	<g id="test-body-content">
		<g id="diagonal-line-set">
			<line x1="37.5" y1="137" x2="112.5" y2="50" fill="none" stroke="black" stroke-width="1" />
			<line x1="112.5" y1="137" x2="187.5" y2="50" fill="none" stroke="red" stroke-width="5" />
			<line x1="187.5" y1="137" x2="262.5" y2="50" fill="none" stroke="green" stroke-width="7.5" />
			<line x1="262.5" y1="137" x2="337.5" y2="50" fill="none" stroke="blue" stroke-width="10" />
			<line x1="337.5" y1="137" x2="412.5" y2="50" fill="none" stroke="fuchsia" stroke-width="12.5" />
		</g>
		<g id="middle-figure" stroke="black" stroke-width="1" >
			<line x1="170" y1="200" x2="220" y2="200"/>
			<line x1="220" y1="200" x2="220" y2="250"/>
			<line x1="220" y1="250" x2="270" y2="250"/>
			<line x1="270" y1="250" x2="270" y2="200"/>
			<line x1="270" y1="200" x2="320" y2="200"/>
		</g>
		<g id="lower-left-figure" stroke="blue" stroke-width="10" >
			<line x1="25" y1="200" x2="75" y2="200"/>
			<line x1="75" y1="200" x2="75" y2="250"/>
			<line x1="75" y1="250" x2="125" y2="250"/>
			<line x1="125" y1="250" x2="125" y2="200"/>
			<line x1="125" y1="200" x2="175" y2="200"/>
		</g>
		<g id="lower-right-figure" stroke-width="10" >
			<line x1="370" y1="250" x2="420" y2="250" stroke="black" />
			<line x1="420" y1="200" x2="470" y2="200" stroke="fuchsia" />
			<line x1="320" y1="200" x2="370" y2="200" stroke="blue" />
			<line x1="370" y1="200" x2="370" y2="250" stroke="green" />
			<line x1="420" y1="250" x2="420" y2="200" stroke="red" />
		</g>
	</g>
	<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text>
	<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>