Revision control
Copy as Markdown
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.2" baseProfile="tiny" xml:id="svg-root" width="100%" height="100%"
<!--======================================================================-->
<!--= Copyright 2008 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, European Research Consortium for =-->
<!--= Informatics and Mathematics (ERCIM), Keio University). =-->
<!--= All Rights Reserved. =-->
<!--======================================================================-->
reviewer="ED,AN" owner="CN" desc="Test using multiple coord sets to build a polybézier, and implicit values for initial S." status="accepted"
approved="yes"
version="$Revision: 1.11 $" testname="$RCSfile: paths-data-12-t.svg,v $">
<d:OperatorScript xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" xmlns="http://www.w3.org/1999/xhtml">
<p>Test using multiple coord sets to build a polybézier, and implicit values for initial S.</p>
<p>The rendered picture should match the reference image exactly, except for possible variations in the labelling text (per CSS2 rules).</p>
</d:OperatorScript>
</SVGTestCase>
<title xml:id="test-title">$RCSfile: paths-data-12-t.svg,v $</title>
<defs>
<font-face font-family="SVGFreeSansISO-8859-1" unicode-range="U+0-FF">
<font-face-src>
<font-face-uri xlink:href="../images/SVGFreeSans-ISO-8859-1.svg#iso_8859_1" />
</font-face-src>
</font-face>
</defs>
<g xml:id="test-body-content" font-family="SVGFreeSansISO-8859-1,sans-serif" font-size="18">
<text font-size="12" x="240" y="14" text-anchor="middle">Testing cubic bézier curves and implicit values for 'S':</text>
<text font-size="24" x="220" y="64">M,C,S</text>
<text font-size="24" x="220" y="250">M,S</text>
<!-- Use multiple coord sets to build a polybézier-->
<path fill="none" stroke="red" stroke-width="3" d="M 100 100 C 100 20 200 20 200 100 S 300 180 300 100" />
<rect x="100" y="100" width="4" height="4" fill="blue" stroke="none" />
<rect x="200" y="100" width="4" height="4" fill="blue" stroke="none" />
<rect x="300" y="100" width="4" height="4" fill="blue" stroke="none" />
<!-- Test if S not preceeded by either C or S , first control point is coincident with the current point.-->
<path fill="none" stroke="red" stroke-width="3" d="M 100 250 S 200 200 200 250 300 300 300 250" />
<rect x="100" y="250" width="4" height="4" fill="blue" stroke="none" />
<rect x="200" y="200" width="4" height="4" fill="blue" stroke="none" />
<rect x="200" y="250" width="4" height="4" fill="blue" stroke="none" />
<rect x="200" y="300" width="4" height="4" fill="blue" stroke="none" />
<rect x="300" y="300" width="4" height="4" fill="blue" stroke="none" />
<rect x="300" y="250" width="4" height="4" fill="blue" stroke="none" />
</g>
<g font-family="SVGFreeSansISO-8859-1,sans-serif" font-size="32">
<text xml:id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.11 $</text>
</g>
<rect xml:id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000" />
<!-- comment out this watermark once the test is approved -->
<!--<g xml:id="draft-watermark" fill-opacity="0.5">
<rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1" />
<text font-family="SVGFreeSansISO-8859-1,sans-serif" font-weight="bold" font-size="20" x="240" text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
</g>-->
</svg>