Debian Codegraph @

test_non_regression/svg/coords-trans-08-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="OA" author="CN" status="accepted"
15 version="$Revision: 1.6 $" testname="$RCSfile: coords-trans-08-t.svg,v $">
16 <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">
17 <p>
18 This test verifies the implementation of transforms. It tests elementary transforms
19 and transform nesting.
20 Note that for layout purposes, this test uses nesting of translation with the elementary transforms.
21 </p>
22 <p>
23 This test will check if the transfomations performed are carried out in the proper order. The result should differ depending on which transformation comes first.
24 </p>
25 </d:testDescription>
26 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
27 <p>
28 Run the test. No interaction required.
29 </p>
30 </d:operatorScript>
31 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
32 <p>
33 The rendered picture should match the reference image exactly except for variations in the labeling text.
34 </p>
35 </d:passCriteria>
36 </d:SVGTestCase>
37 <title id="test-title">$RCSfile: coords-trans-08-t.svg,v $</title>
38 <defs>
39 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
40 <font-face-src>
41 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
42 </font-face-src>
43 </font-face>
44 </defs>
45 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
46 <g id="elementary-transforms-test">
47 <g id="object_1" transform="skewX(45) skewY(45)">
48 <rect x="0" y="0" width="150" height="5" fill="blue"/>
49 <rect x="0" y="0" width="5" height="50" fill="red"/>
50 <rect x="150" y="0" width="5" height="50" fill="black"/>
51 <rect x="0" y="50" width="150" height="5" fill="black"/>
52 <ellipse rx="40" ry="15" cx="75" cy="25" fill="purple"/>
53 </g>
54 <text x="30" y="16" font-size="12">skewX(45)+skewY(45)</text>
55
56 <g id="object_2" transform="translate(200,0) skewY(45) skewX(45)">
57 <rect x="0" y="0" width="150" height="5" fill="blue"/>
58 <rect x="0" y="0" width="5" height="50" fill="red"/>
59 <rect x="150" y="0" width="5" height="50" fill="black"/>
60 <rect x="0" y="50" width="150" height="5" fill="black"/>
61 <ellipse rx="40" ry="15" cx="75" cy="25" fill="purple"/>
62 </g>
63 <text x="230" y="16" font-size="12">skewY(45)+skewX(45)</text>
64 </g>
65 </g>
66 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
67 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>
68 </g>
69 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
70 <!-- comment out this watermark once the test is approved -->
71 <!--<g id="draft-watermark">
72 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
73 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
74 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
75 </g>-->
76 </svg>