87 lines
5.0 KiB
XML
87 lines
5.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
<!--======================================================================-->
|
|
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
|
|
<!--= Institute of Technology, Institut National de Recherche en =-->
|
|
<!--= Informatique et en Automatique, Keio University). All Rights =-->
|
|
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
|
|
<!--======================================================================-->
|
|
<!-- ===================================================================== -->
|
|
<!-- filters-turb-BE-11.svg -->
|
|
<!-- renamed filters-turn-01-f -->
|
|
<!-- Test which verifies the basic facilities of feTurbulence. -->
|
|
<!-- Author : Jon Ferraiolo 07-Aug-2000 -->
|
|
<!-- Conversion to 1.1: Chris Lilley 11 Nov 2002 -->
|
|
<!--======================================================================-->
|
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
|
|
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
|
|
<OperatorScript version="$Revision: 1.1 $" testname="filters-turb-01-f.svg">
|
|
<Paragraph>
|
|
Test which verifies the basic facilities of feTurbulence. Six rectangular areas showing the
|
|
effects of various parameter settings for feTurbulence. The sample image indicates the
|
|
parameter settings to produce the given image.
|
|
</Paragraph>
|
|
<Paragraph>
|
|
The rendered picture should match the reference image, except for possible variations
|
|
in the labelling text (per CSS2 rules).
|
|
</Paragraph>
|
|
</OperatorScript>
|
|
</SVGTestCase>
|
|
<title id="test-title">filters-turb-01-f</title>
|
|
<desc id="test-desc">Test which verifies the basic facilities of feTurbulence.</desc>
|
|
<!--======================================================================-->
|
|
<!--Content of Test Case follows... =====================-->
|
|
<!--======================================================================-->
|
|
<g id="test-body-content">
|
|
<desc>Six rectangular areas showing the effects of various parameter settings for feTurbulence.</desc>
|
|
<g font-family="Verdana" text-anchor="middle" font-size="10">
|
|
<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>
|
|
<rect x="25" y="25" width="100" height="75" 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" 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" 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" 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" 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" 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>
|
|
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.1 $</text>
|
|
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
|
|
</svg>
|