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="AN,ED" owner="CN" desc="Test using multiple coord sets to build a polybézier, then T with no preceeding Q or T." status="accepted"
approved="yes"
version="$Revision: 1.10 $" testname="$RCSfile: paths-data-15-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, then T with no preceding Q or T.</p>
<p>The rendered picture should match the reference image exactly, except for possible variations in the labeling text (per CSS2 rules).</p>
</d:OperatorScript>
</SVGTestCase>
<title xml:id="test-title">$RCSfile: paths-data-15-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 implement followup of commands for quadratic bézier curves</text>
<text font-size="24" x="210" y="120">M,Q</text>
<text font-size="24" x="200" y="190">M,T</text>
<g transform="scale(1.8) translate(20 50)">
<!-- Use multiple coord sets to build a polybezier-->
<path fill="none" stroke="red" stroke-width="3" d="M 20 20 Q 50 10 80 20 110 30 140 20 170 10 200 20" />
<!-- Test if T not preceded by either Q or T , control point should be coincident with the current point.-->
<path fill="none" stroke="blue" stroke-width="3" d="M 20 50 T 50 50 80 50" />
<rect x="20" y="50" width="4" height="4" fill="#0000FF" stroke="black" />
<rect x="50" y="50" width="4" height="4" fill="#0000FF" stroke="black" />
<rect x="80" y="50" width="4" height="4" fill="#0000FF" stroke="black" />
</g>
</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.10 $</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>