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

All > SVG > Structure > structure-symbol-BE-05


File: structure-symbol-BE-05
Author: Tim Thompson
Origin: W3C SVG conformance suite

Rendered imageSVG source
ElementsAttributes
axlink:href |
descid |
gid | style |
imageheight | id | width | x | xlink:href | y |
pathd | style |
rectheight | id | style | width | x | y |
svgheight | id | width |
symbolid | preserveAspectRatio | viewBox |
textstyle | x | y |
titleid |
useheight | id | width | x | xlink:href | y |

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">structure-symbol-BE-05</title>
     <desc id="test-desc">Test the creation of symbol elements and the instantiation by the use element</desc>
     <g id="test-body-content">
          <symbol id="imageRef1" viewBox="0 0 1000 1000" preserveAspectRatio="none">
               <image id="image1" x="0" y="0" width="1000" height="1000" xlink:href="Image1.jpg"/>
          </symbol>
          <symbol id="largeRect">
               <rect x="0" y="0" width="1000" height="1000"/>
          </symbol>
          <symbol id="drawRects" viewBox="0 0 1000 1000" preserveAspectRatio="none">
               <rect x="0" y="0" width="500" height="500" style="fill:yellow;"/>
               <rect x="500" y="0" width="500" height="500" style="fill:red;"/>
               <rect x="0" y="500" width="500" height="500" style="fill:red;"/>
               <rect x="500" y="500" width="500" height="500" style="fill:yellow;"/>
          </symbol>
          <g id="useNdraw">
               <use id="upperLeft" x="0" y="0" width="225" height="225" xlink:href="#imageRef1"/>
               <use id="lowerRight" x="225" y="225" width="225" height="225" xlink:href="#drawRects"/>
          </g>
     </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">structure-symbol-BE-05</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