blob: a2eef99557003ae3355584626e8870a8ea57ddc5 [file] [log] [blame]
<?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.7 $" testname="shapes-line-01-t.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.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>