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

All > SVG > Masking > masking-vportClip-BE-09


File: masking-vportClip-BE-09
Author: Jon Ferraiolo
Origin: W3C SVG conformance suite

Rendered imageSVG source
ElementsAttributes
axlink:href |
descid |
gid | style | transform |
pathd | style |
rectheight | id | style | width | x | y |
svgheight | id | width | x | y |
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">masking-vportClip-BE-09</title>
     <desc id="test-desc">Test 'overflow'/'clip' on outermost and inner 'svg' elements.</desc>
     <g id="test-body-content">
          <text style="font-family:Helvetica;font-size:14;text-anchor:middle;" x="225" y="70">Test 'overflow'/'clip' on outermost and inner 'svg' elements</text>
          <g style="font-family:Helvetica;font-size:24;stroke-width:2;">
               <g transform="translate(100,-20)">
                    <rect width="250" height="60" style="fill:#ccccff;stroke:#ff8888;"/>
                    <text x="25" y="35">Clip to outer 'svg'?</text>
               </g>
               <g transform="translate(-175,195)">
                    <rect width="250" height="60" style="fill:#ccccff;stroke:#ff8888;"/>
                    <text x="25" y="35">Clip to outer 'svg'?</text>
               </g>
               <g transform="translate(375,195)">
                    <rect width="250" height="60" style="fill:#ccccff;stroke:#ff8888;"/>
                    <text x="25" y="35">Clip to outer 'svg'?</text>
               </g>
               <g transform="translate(100,420)">
                    <rect width="250" height="60" style="fill:#ccccff;stroke:#ff8888;"/>
                    <text x="25" y="35">Clip to outer 'svg'?</text>
               </g>
          </g>
          <rect x="100" y="100" width="250" height="250" style="fill:none;stroke:#006600;stroke-width:5;"/>
          <svg x="100" y="100" width="250" height="250">
               <g style="font-family:Helvetica;font-size:16;stroke-width:2;">
                    <g transform="translate(50,-15)">
                         <rect width="150" height="35" style="fill:#ffaaaa;stroke:#6666ff;"/>
                         <text x="10" y="23">Clip to inner 'svg'?</text>
                    </g>
                    <g transform="translate(-50,107.5)">
                         <rect width="150" height="35" style="fill:#ffaaaa;stroke:#6666ff;"/>
                         <text x="10" y="23">Clip to inner 'svg'?</text>
                    </g>
                    <g transform="translate(150,107.5)">
                         <rect width="150" height="35" style="fill:#ffaaaa;stroke:#6666ff;"/>
                         <text x="10" y="23">Clip to inner 'svg'?</text>
                    </g>
                    <g transform="translate(50,230)">
                         <rect width="150" height="35" style="fill:#ffaaaa;stroke:#6666ff;"/>
                         <text x="10" y="23">Clip to inner 'svg'?</text>
                    </g>
               </g>
          </svg>
     </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">masking-vportClip-BE-09</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: UNLIMITED Web Hosting by HostDepartment, conference call service, answering service, Alojamiento Web, Domain Names