Debian Codegraph @

test_non_regression/svg/paths-data-06-t.svg

raw
1 <svg version="1.1" baseProfile="tiny" id="svg-root"
2 width="100%" height="100%" viewBox="0 0 480 360"
3 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4 <!--======================================================================-->
5 <!--= SVG 1.1 2nd Edition Test Case =-->
6 <!--======================================================================-->
7 <!--= Copyright 2009 World Wide Web Consortium, (Massachusetts =-->
8 <!--= Institute of Technology, European Research Consortium for =-->
9 <!--= Informatics and Mathematics (ERCIM), Keio University). =-->
10 <!--= All Rights Reserved. =-->
11 <!--= See http://www.w3.org/Consortium/Legal/. =-->
12 <!--======================================================================-->
13 <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"
14 template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"
15 version="$Revision: 1.7 $" testname="$RCSfile: paths-data-06-t.svg,v $">
16 <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">
17 <p>
18 Verify the basic capability to handle the 'path' element, and its data attribute (d)
19 in combination with the straight-line path commands.
20 Two pairs of staircase figures are drawn using
21 respectively M,H,V,Z and m,h,v,z. The shapes in each pair are identical, with one stroked and
22 one filled.
23 </p>
24 </d:testDescription>
25 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
26 <p>
27 Run the test. No interaction required.
28 </p>
29 </d:operatorScript>
30 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
31 <p>
32 The rendered picture should match the reference image exactly
33 </p>
34 </d:passCriteria>
35 </d:SVGTestCase>
36 <title id="test-title">$RCSfile: paths-data-06-t.svg,v $</title>
37 <defs>
38 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
39 <font-face-src>
40 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
41 </font-face-src>
42 </font-face>
43 </defs>
44 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
45 <g transform="scale(1.8) translate(-200, 0)">
46 <!-- ====================================================================== -->
47 <!-- First Group of Stairs using M, H, V & Z commands====================== -->
48 <!-- ====================================================================== -->
49 <text font-size="12" x="288" y="30">M, H, V, H,</text>
50 <text font-size="12" x="288" y="46">V. H, V, H,</text>
51 <text font-size="12" x="304" y="62">V, Z</text>
52 <path id="Stairs_stroke_MHVZ" fill="none" stroke="#000000" d=" M 240.00000 56.00000 H 270.00000 V 86.00000 H 300.00000 V 116.00000 H 330.00000 V 146.00000 H 240.00000 V 56.00000 Z "/>
53 <rect x="238.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
54 <rect x="268.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
55 <rect x="268.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
56 <rect x="298.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
57 <rect x="298.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
58 <rect x="328.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
59 <rect x="328.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
60 <rect x="238.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
61 <path id="Stairs_fill_MHVZ" fill="#0000FF" stroke="none" d=" M 350.00000 56.00000 H 380.00000 V 86.00000 H 410.00000 V 116.00000 H 440.00000 V 146.00000 H 350.00000 V 56.00000 Z "/>
62 <rect x="348.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
63 <rect x="378.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
64 <rect x="378.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
65 <rect x="408.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
66 <rect x="408.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
67 <rect x="438.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
68 <rect x="438.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
69 <rect x="348.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
70 <!-- ====================================================================== -->
71 </g>
72 </g>
73 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
74 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>
75 </g>
76 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
77 <!-- comment out this watermark once the test is approved -->
78 <!--<g id="draft-watermark">
79 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
80 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
81 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
82 </g>-->
83 </svg>