Debian Codegraph @

test_non_regression/svg/paths-data-14-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="ED" author="CN" status="accepted"
15 version="$Revision: 1.6 $" testname="$RCSfile: paths-data-14-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 Test implicit values for moveto. If the first command is 'm' it should be taken as an absolute moveto, plus implicit lineto.
19 </p>
20 </d:testDescription>
21 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
22 <p>Run the test. No interaction required.</p>
23 </d:operatorScript>
24 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
25 <p>The test is passed if the three triangles are shown: two concentric, unfilled
26 triangles with black strokes on the left, and one unfilled triangle with
27 a thick blue stroke on the right.</p>
28 </d:passCriteria>
29 </d:SVGTestCase>
30 <title id="test-title">$RCSfile: paths-data-14-t.svg,v $</title>
31 <defs>
32 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
33 <font-face-src>
34 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
35 </font-face-src>
36 </font-face>
37 </defs>
38 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
39 <g transform="scale(1.8)">
40 <!-- If the first command is 'm' it should be taken as an absolute moveto, plus implicit lineto. -->
41 <path fill="none" stroke="#000000" d=" m 62.00000 56.00000 51.96152 90.00000 -103.92304 0.00000 51.96152 -90.00000 z m 0.00000 15.00000 38.97114 67.50000 -77.91228 0.00000 38.97114 -67.50000 z "/>
42 <!-- Test implicit lineto. -->
43 <path fill="#0000FF" stroke="none" fill-rule="evenodd" d=" M 177.00000 56.00000 228.96152 146.00000 125.03848 146.00000 177.00000 56.00000 Z M 177.00000 71.00000 215.97114 138.50000 138.02886 138.50000 177.00000 71.00000 Z "/>
44 </g>
45 </g>
46 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
47 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>
48 </g>
49 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
50 <!-- comment out this watermark once the test is approved -->
51 <!--<g id="draft-watermark">
52 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
53 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
54 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
55 </g>-->
56 </svg>