ZVON > References > Zvon Example Repository
Example repository: index | categories | search

All > SVG > Path > path-curves-BE-04


File: path-curves-BE-04
Author: Lofton Henderson
Origin: W3C SVG conformance suite

Rendered imageSVG source
ElementsAttributes
axlink:href |
descid |
gid | style |
pathd | id | style |
rectheight | id | style | width | x | y |
svgheight | id | width |
textstyle | x | y |
titleid |

Source

<svg id="svg-root" width="450" height="450" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" >
     <title id="test-title">path-curves-BE-04</title>
     <desc id="test-desc">Test that the viewer has the basic capability to handle the 'path' element and data (d) attribute in combination with the elliptical Arc curveto commands - A, a (along with Mm and Zz).</desc>
     <g id="test-body-content">
          <text style="font-family:Helvetica;font-size:12;" x="120" y="14">Elliptical arc curves drawn with commands:</text>
          <path id="Arc_MAZ" style="fill:none;stroke:#FF0000;stroke-width:10;" d=" M 25 70 A 40 40 0 1 0 25 69 Z "/>
          <text style="font-family:Helvetica;font-size:12;" x="48" y="70">M, A, Z</text>
          <rect x="23" y="68" width="4" height="4" style="fill:#00C000;stroke:none;"/>
          <rect x="23" y="67" width="4" height="4" style="fill:#00C000;stroke:none;"/>
          <path id="Arc_fill_maz" style="fill:#00FF00;stroke:#0000FF;" d=" m 150 100 a 100 40 0 1 0 25 -70 z "/>
          <text style="font-family:Helvetica;font-size:12;" x="124" y="45">m, a, z</text>
          <rect x="148" y="98" width="4" height="4" style="fill:#CF0000;stroke:none;"/>
          <rect x="173" y="28" width="4" height="4" style="fill:#CF0000;stroke:none;"/>
          <path id="Arc_Ma" style="fill:none;stroke:#000000;" d=" M 350 45 a 40 40 0 1 0 80 60 "/>
          <text style="font-family:Helvetica;font-size:12;" x="390" y="60">M, a</text>
          <rect x="348" y="43" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <rect x="428" y="103" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <path id="Tri_MAaaz" style="fill:#C0C000;stroke:none;fill-rule:evenodd;" d=" M 25 140 A 50 50 0 1 0 100 140 a 50 50 0 1 0 50 0 a 50 50 0 1 0 25 0 z "/>
          <text style="font-family:Helvetica;font-size:12;" x="80" y="135">M, A, a, a, z</text>
          <rect x="23" y="138" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <rect x="98" y="138" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <rect x="148" y="138" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <rect x="173" y="138" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <path id="Arc_MaZmAzmaz" style="fill:#CF0000;stroke:#000000;stroke-width:3;" d=" M 260 150 a 40 40 0 0 1 65 50 Z m 30 30 A 20 20 0 0 0 355 230 Z m 40 24 a 20 20 0 0 1 65 50 z "/>
          <text style="font-family:Helvetica;font-size:12;" x="265" y="270">M, a, Z, m, A, Z, m, a, z</text>
          <rect x="258" y="148" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <rect x="323" y="198" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <rect x="288" y="178" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <rect x="353" y="228" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <rect x="328" y="202" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <rect x="393" y="252" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <path id="Sin_MAAAAA" style="fill:none;stroke:#FF0000;" d=" M 15 320 A 40 200 10 0 0 65 320 A 40 200 20 0 1 115 320 A 40 200 30 0 0 165 320 A 40 200 40 0 1 215 320 A 40 200 50 0 0 265 320 "/>
          <text style="font-family:Helvetica;font-size:12;" x="15" y="290">M, A, A, A, A</text>
          <rect x="13" y="318" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <rect x="63" y="318" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <rect x="113" y="318" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <rect x="163" y="318" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <rect x="213" y="318" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
          <rect x="263" y="318" width="4" height="4" style="fill:#0000FF;stroke:none;"/>
     </g>
     <g id="test-legend" style="fill:black;font-family:Helvetica;font-size:10;">
          <rect x="10" y="390" width="275" height="50" style="fill:none;stroke:#000000;"/>
          <path style="fill:none;stroke:#000000;" d="M10 405 h275 M205 405 v35 M10 426 h195 M205 422 h80"/>
          <text x="25" y="401">Scalable Vector Graphics (SVG) Conformance Suite</text>
          <a xlink:href="copyright-documents-19990405.html">
               <text x="12" y="437" style="fill:blue;">Copyright 2000 W3C. All Rights Reserved.</text>
          </a>
          <text style="font-size:12;" x="35" y="420">path-curves-BE-04</text>
          <text style="font-size:10;" x="210" y="417">$Revision: 1.1 $</text>
          <text style="font-size:10;" x="210" y="435">Release 2.0</text>
          <rect id="test-frame" x="1" y="1" width="448" height="448" style="fill:none;stroke:#000000;"/>
     </g>
</svg>



Sponsored links: Domain Names, VoIP Internettelefonie, DSL, SDSL, ADSL, UNLIMITED Web Hosting by HostDepartment, conference call service, answering service