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

All > SVG > Interactive > interact-zoomPan-BE-02


File: interact-zoomPan-BE-02
Author: Lofton Henderson
Origin: W3C SVG conformance suite

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

Source

<svg id="svg-root" width="450" height="450" zoomAndPan="magnify" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" >
     <title id="test-title">interact-zoomPan-BE-02</title>
     <desc id="test-desc">Test "magnify" value of zoomAndPan attribute.</desc>
     <g id="test-body-content">
          <text x="75" y="20" style="fill:black;font-size:12;font-family:Helvetica;">Test "magnify" value of zoomAndPan attribute.</text>
          <g style="font-size:12;fill:black;">
               <text x="20" y="78">200</text>
               <text x="230" y="80">User space units (no specifier)</text>
               <rect x="20" y="80" width="200" height="1" style="stroke:none;fill:blue;"/>
               <text x="20" y="98">200 px</text>
               <text x="230" y="100">Pixels (px)</text>
               <rect x="20" y="100" width="200px" height="1" style="stroke:none;fill:blue;"/>
               <text x="20" y="118">20 em = 200 px (font-size=10px)</text>
               <text x="230" y="120">Relative to font size (em)</text>
               <g style="font-size:10px;">
                    <rect x="20" y="120" width="20em" height="1" style="stroke:none;fill:blue;"/>
               </g>
               <text x="20" y="138">40 ex</text>
               <text x="230" y="140">Relative to font x-height (ex)</text>
               <g style="font-size:10px;">
                    <rect x="20" y="140" width="40ex" height="1" style="stroke:none;fill:blue;"/>
               </g>
               <text x="20" y="158">44.45% = 200 px</text>
               <text x="230" y="160">Percentage (%)</text>
               <rect x="20" y="160" width="44.45%" height="1" style="stroke:none;fill:blue;"/>
               <text x="20" y="178">1 in</text>
               <text x="230" y="180">Inches (in)</text>
               <rect x="20" y="180" width="1in" height="1" style="stroke:none;fill:blue;"/>
               <text x="20" y="198">2.54 cm = 1 in</text>
               <text x="230" y="200">Centimeters (cm)</text>
               <rect x="20" y="200" width="2.54cm" height="1" style="stroke:none;fill:blue;"/>
               <text x="20" y="218">25.4 mm = 1 in</text>
               <text x="230" y="220">Millimeters (mm)</text>
               <rect x="20" y="220" width="25.4mm" height="1" style="stroke:none;fill:blue;"/>
               <text x="20" y="238">72pt = 1 in</text>
               <text x="230" y="240">Points (pt)</text>
               <rect x="20" y="240" width="72pt" height="1" style="stroke:none;fill:blue;"/>
               <text x="20" y="258">6pc = 1 in</text>
               <text x="230" y="260">Picas (pc)</text>
               <rect x="20" y="260" width="6pc" height="1" style="stroke:none;fill:blue;"/>
          </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">interact-zoomPan-BE-02</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