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

All > SVG > Rendering > rendering-orderGr-BE-01


File: rendering-orderGr-BE-01
Author: Vincent Hardy
Origin: W3C SVG conformance suite

Rendered imageSVG source
ElementsAttributes
axlink:href |
descid |
gid | style | transform |
imageheight | width | x | xlink:href | y |
linestyle | x1 | x2 | y1 | y2 |
pathd | 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">rendering-orderGr-BE-01</title>
     <desc id="test-desc">This test validates the rendering order of graphic elements and the concept of grouping.</desc>
     <g id="test-body-content">
          <rect x="20" y="30" width="230" height="160" style="fill:rgb(192, 192, 192);"/>
          <line x1="40" y1="30" x2="40" y2="190" style="stroke:white;stroke-width:15;"/>
          <line x1="70" y1="30" x2="70" y2="190" style="stroke:white;stroke-width:15;"/>
          <line x1="100" y1="30" x2="100" y2="190" style="stroke:white;stroke-width:15;"/>
          <line x1="130" y1="30" x2="130" y2="190" style="stroke:white;stroke-width:15;"/>
          <line x1="160" y1="30" x2="160" y2="190" style="stroke:white;stroke-width:15;"/>
          <line x1="190" y1="30" x2="190" y2="190" style="stroke:white;stroke-width:15;"/>
          <line x1="220" y1="30" x2="220" y2="190" style="stroke:white;stroke-width:15;"/>
          <line x1="250" y1="30" x2="250" y2="190" style="stroke:white;stroke-width:15;"/>
          <rect x="20" y="30" width="230" height="160" style="fill:none;stroke:black;"/>
          <text style="font-size:120;" x="30" y="150">A</text>
          <rect x="80" y="80" width="120" height="50" style="fill:rgb(130, 0, 50);"/>
          <image x="160" y="100" width="80" height="80" xlink:href="sign.png"/>
          <text x="260" y="110">Rendering Order</text>
          <g transform="translate(0, 170)">
               <rect x="20" y="30" width="230" height="160" style="fill:rgb(192, 192, 192);"/>
               <text x="260" y="110">Grouping</text>
               <line x1="40" y1="30" x2="40" y2="190" style="stroke:white;stroke-width:15;"/>
               <line x1="70" y1="30" x2="70" y2="190" style="stroke:white;stroke-width:15;"/>
               <line x1="100" y1="30" x2="100" y2="190" style="stroke:white;stroke-width:15;"/>
               <line x1="130" y1="30" x2="130" y2="190" style="stroke:white;stroke-width:15;"/>
               <line x1="160" y1="30" x2="160" y2="190" style="stroke:white;stroke-width:15;"/>
               <line x1="190" y1="30" x2="190" y2="190" style="stroke:white;stroke-width:15;"/>
               <line x1="220" y1="30" x2="220" y2="190" style="stroke:white;stroke-width:15;"/>
               <line x1="250" y1="30" x2="250" y2="190" style="stroke:white;stroke-width:15;"/>
               <rect x="20" y="30" width="230" height="160" style="fill:none;stroke:black;"/>
               <g style="opacity:0.5;">
                    <text style="font-size:120;" x="30" y="150">A</text>
                    <rect x="80" y="80" width="120" height="50" style="fill:rgb(130, 0, 50);"/>
                    <image x="160" y="100" width="80" height="80" xlink:href="sign.png"/>
               </g>
          </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">rendering-orderGr-BE-01</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