| <?xml version="1.0" standalone="no"?> |
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000802//EN" |
| "http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd"> |
| |
| <!-- ========================================================================= --> |
| <!-- Copyright (C) The Apache Software Foundation. All rights reserved. --> |
| <!-- --> |
| <!-- This software is published under the terms of the Apache Software License --> |
| <!-- version 1.1, a copy of which has been included with this distribution in --> |
| <!-- the LICENSE file. --> |
| <!-- ========================================================================= --> |
| |
| <!-- ========================================================================= --> |
| <!-- Test description here --> |
| <!-- --> |
| <!-- @author vincent.hardy@eng.sun.com --> |
| <!-- @version $Id$ --> |
| <!-- ========================================================================= --> |
| |
| <?xml-stylesheet type="text/css" href="test.css" ?> |
| |
| <svg id="body" width="450" height="500" viewBox="0 0 450 500"> |
| <title>Filter Effect: feTurbulence</title> |
| <!-- ============================================================= --> |
| <!-- Test content --> |
| <!-- ============================================================= --> |
| <g id="testContent"> |
| |
| <g> |
| <text x="225" y="50" class="title"> |
| Filter Effect: feTurbulence |
| </text> |
| <g transform="translate(0,62.5)"> |
| <defs> |
| <filter id="Turb1" filterUnits="objectBoundingBox" |
| x="0%" y="0%" width="100%" height="100%"> |
| <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2"/> |
| </filter> |
| <filter id="Turb2" filterUnits="objectBoundingBox" |
| x="0%" y="0%" width="100%" height="100%"> |
| <feTurbulence type="turbulence" baseFrequency="0.1" numOctaves="2"/> |
| </filter> |
| <filter id="Turb3" filterUnits="objectBoundingBox" |
| x="0%" y="0%" width="100%" height="100%"> |
| <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="8"/> |
| </filter> |
| <filter id="Turb4" filterUnits="objectBoundingBox" |
| x="0%" y="0%" width="100%" height="100%"> |
| <feTurbulence type="fractalNoise" baseFrequency="0.1" numOctaves="4"/> |
| </filter> |
| <filter id="Turb5" filterUnits="objectBoundingBox" |
| x="0%" y="0%" width="100%" height="100%"> |
| <feTurbulence type="fractalNoise" baseFrequency="0.4" numOctaves="4"/> |
| </filter> |
| <filter id="Turb6" filterUnits="objectBoundingBox" |
| x="0%" y="0%" width="100%" height="100%"> |
| <feTurbulence type="fractalNoise" baseFrequency="0.1" numOctaves="1"/> |
| </filter> |
| </defs> |
| <g class="legend"> |
| <rect x="25" y="25" width="100" height="75" style="filter:url(#Turb1)" /> |
| <text x="75" y="117">type=turbulence</text> |
| <text x="75" y="129">baseFrequency=0.05</text> |
| <text x="75" y="141">numOctaves=2</text> |
| |
| <rect x="175" y="25" width="100" height="75" style="filter:url(#Turb2)" /> |
| <text x="225" y="117">type=turbulence</text> |
| <text x="225" y="129">baseFrequency=0.1</text> |
| <text x="225" y="141">numOctaves=2</text> |
| |
| <rect x="325" y="25" width="100" height="75" style="filter:url(#Turb3)" /> |
| <text x="375" y="117">type=turbulence</text> |
| <text x="375" y="129">baseFrequency=0.05</text> |
| <text x="375" y="141">numOctaves=8</text> |
| |
| <rect x="25" y="180" width="100" height="75" style="filter:url(#Turb4)" /> |
| <text x="75" y="272">type=fractalNoise</text> |
| <text x="75" y="284">baseFrequency=0.1</text> |
| <text x="75" y="296">numOctaves=4</text> |
| |
| <rect x="175" y="180" width="100" height="75" style="filter:url(#Turb5)" /> |
| <text x="225" y="272">type=fractalNoise</text> |
| <text x="225" y="284">baseFrequency=0.4</text> |
| <text x="225" y="296">numOctaves=4</text> |
| |
| <rect x="325" y="180" width="100" height="75" style="filter:url(#Turb6)" /> |
| <text x="375" y="272">type=fractalNoise</text> |
| <text x="375" y="284">baseFrequency=0.1</text> |
| <text x="375" y="296">numOctaves=1</text> |
| </g> |
| </g> |
| |
| </g> |
| |
| </g> |
| |
| <!-- ============================================================= --> |
| <!-- Batik sample mark --> |
| <!-- ============================================================= --> |
| <use xlink:href="../batikLogo.svg#Batik_Tag_Box" /> |
| |
| </svg> |