Debian Codegraph @

test_non_regression/fail/images/filters-conv-01-f.svg

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
3
4 <!--======================================================================-->
5 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
6 <!--= Institute of Technology, Institut National de Recherche en =-->
7 <!--= Informatique et en Automatique, Keio University). All Rights =-->
8 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
9 <!--======================================================================-->
10 <!--======================================================================-->
11 <!-- -->
12 <!-- filters-convolve-BE-06.svg -->
13 <!-- renamed for 1.1 suite to filters-conv-01-f.svg -->
14 <!-- -->
15 <!-- Test which verifies the basic facilities of feConvolveMatrix. -->
16 <!-- -->
17 <!-- Author : Vincent Hardy 24-Apr-2000 -->
18 <!-- Revised for 1.1 : Mike Bultrowicz, 4 February 2002 -->
19 <!-- -->
20 <!-- History: -->
21 <!-- 24-Apr-2000, VH: Serial#1 created. -->
22 <!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
23 <!-- 16-Aug-2000, LH="rename" ser#2. -->
24 <!-- 17-Aug-2000, JF: Fix validation error. edgemode->edgeMode. -->
25 <!-- 21-Aug-2000, VH: Added filterUnits and filter effect region to each -->
26 <!-- filter definition. ser#3 -->
27 <!-- -->
28 <!--======================================================================-->
29 <!--======================================================================-->
30 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
31 <!--= log messages, and therefore is no longer in the preceding preamble.=-->
32 <!--======================================================================-->
33 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="480" height="360">
34 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
35 <OperatorScript>
36 <Paragraph>
37 Test which verifies the basic facilities of
38 feConvolveMatrix.
39 </Paragraph>
40 <Paragraph>
41 This test defines six filters that exercise traditional
42 convolutions: uniform blur, vertical and horizontal
43 blurs, edge detection, embossing and sharpening. Note
44 that the edge detection filter produces a fully
45 transparent image because the alpha chanel is convolved
46 and produces 0 values.
47 </Paragraph>
48 </OperatorScript>
49 </SVGTestCase>
50 <title id="test-title">filters-conv-01-f</title>
51 <desc id="test-desc">Test which verifies the basic facilities of feConvolveMatrix.</desc>
52 <!--======================================================================-->
53 <!--Content of Test Case follows... =====================-->
54 <!--======================================================================-->
55 <g id="test-body-content">
56 <!--Generated by the Java 2D API Graphics2D SVG Generator, Sun Microsystems Inc.-->
57 <g transform="translate(20, 40)">
58 <defs id="defs1">
59 <filter id="convolve1" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
60 <feConvolveMatrix order="3 3" kernelMatrix="0.1111 0.1111 0.1111 0.1111 0.1111 0.1111 0.1111 0.1111 0.1111" edgeMode="none"/>
61 </filter>
62 <filter id="convolve2" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
63 <feConvolveMatrix order="3 3" kernelMatrix="-1 -1 -1 -1 8 -1 -1 -1 -1" edgeMode="none"/>
64 </filter>
65 <filter id="convolve3" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
66 <feConvolveMatrix order="3 3" kernelMatrix="-1 -1 -1 -1 9 -1 -1 -1 -1" edgeMode="none"/>
67 </filter>
68 <filter id="convolve4" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
69 <feConvolveMatrix order="3 3" kernelMatrix="-2 0 0 0 1 0 0 0 2" edgeMode="none"/>
70 </filter>
71 <filter id="convolve5" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
72 <feConvolveMatrix order="3 1" kernelMatrix="0.3333 0.3333 0.3333" edgeMode="none"/>
73 </filter>
74 <filter id="convolve6" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
75 <feConvolveMatrix order="1 3" kernelMatrix="0.3333 0.3333 0.3333" edgeMode="none"/>
76 </filter>
77 </defs>
78 <g shape-rendering="geometricPrecision" text-rendering="geometricPrecision" >
79 <text x="10" y="20" stroke="none" opacity="1" filter="none" >Blur (3x3)</text>
80 <g opacity="1" filter="none" >
81 <image width="50" height="63" xlink:href="filters-conv-01-f.includeimage.png" x="10" y="30" filter="url(#convolve1)" />
82 </g>
83 <text x="10" y="20" transform="translate(150,0)" stroke="none" opacity="1" filter="none" >Edge Detection (3x3)</text>
84 <g transform="translate(150,0)" opacity="1" filter="none" >
85 <image width="50" height="63" xlink:href="filters-conv-01-f.includeimage.png" x="10" y="30" filter="url(#convolve2)" />
86 </g>
87 <text x="10" y="20" transform="translate(300,0)" stroke="none" opacity="1" filter="none" >Sharpening (3x3)</text>
88 <g transform="translate(300,0)" opacity="1" filter="none" >
89 <image width="50" height="63" xlink:href="filters-conv-01-f.includeimage.png" x="10" y="30" filter="url(#convolve3)" />
90 </g>
91 <text x="10" y="20" transform="translate(0,93)" stroke="none" opacity="1" filter="none" >Embossing (3x3)</text>
92 <g transform="translate(0,93)" opacity="1" filter="none" >
93 <image width="50" height="63" xlink:href="filters-conv-01-f.includeimage.png" x="10" y="30" filter="url(#convolve4)" />
94 </g>
95 <text x="10" y="20" transform="translate(150,93)" stroke="none" opacity="1" filter="none" >Horizontal blur (3x1)</text>
96 <g transform="translate(150,93)" opacity="1" filter="none" >
97 <image width="50" height="63" xlink:href="filters-conv-01-f.includeimage.png" x="10" y="30" filter="url(#convolve5)" />
98 </g>
99 <text x="10" y="20" transform="translate(300,93)" stroke="none" opacity="1" filter="none" >Vertical blur (1x3)</text>
100 <g transform="translate(300,93)" opacity="1" filter="none" >
101 <image width="50" height="63" xlink:href="filters-conv-01-f.includeimage.png" x="10" y="30" filter="url(#convolve6)" />
102 </g>
103 </g>
104 </g>
105 </g>
106 <!--======================================================================-->
107 <!--Legend and frame: Title, suite and SVG document serialization====-->
108 <!--======================================================================-->
109 <g id="test-legend" fill="black" font-family="Helvetica" font-size="10">
110 <rect x="10" y="300" width="275" height="50" fill="none" stroke="#000000"/>
111 <path fill="none" stroke="#000000" d="M10 315 h275 M205 315 v35 M10 336 h195 M205 332 h80"/>
112 <text x="25" y="311">Scalable Vector Graphics (SVG) v1.1 Conformance Suite</text>
113 <a xlink:href="copyright-documents-19990405.html">
114 <text x="12" y="347" fill="blue" >Copyright 2002 W3C. All Rights Reserved.</text>
115 </a>
116 <text font-size="12" x="35" y="330">filters-conv-01</text>
117 <text font-size="10" x="210" y="327">$Revision: 1.1 $</text>
118 <text font-size="10" x="210" y="345">Release 1.0</text>
119 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
120 </g>
121 </svg>