Debian Codegraph @

test_non_regression/fail/filter/filters00.svg

raw
1 <?xml version="1.0"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4 <svg width="11.3cm" height="2.2cm" viewBox="0 0 1130 220" version="1.1"
5 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
6 <title>Example filters00.svg - filter effects before and after</title>
7 <desc>Picture of the before and after affects of filtering.</desc>
8 <defs>
9 <filter id="MyFilter">
10 <feGaussianBlur in="SourceAlpha" stdDeviation="4" result="blur"/>
11 <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
12 <feSpecularLighting in="blur" surfaceScale="5" specularConstant="1"
13 specularExponent="10" lighting-color="white"
14 result="specOut">
15 <fePointLight x="-5000" y="-10000" z="20000"/>
16 </feSpecularLighting>
17 <feComposite in="specOut" in2="SourceAlpha" operator="in" result="specOut"/>
18 <feComposite in="SourceGraphic" in2="specOut" operator="arithmetic"
19 k1="0" k2="1" k3="1" k4="0" result="litPaint"/>
20 <feMerge>
21 <feMergeNode in="offsetBlur"/>
22 <feMergeNode in="litPaint"/>
23 </feMerge>
24 </filter>
25 <g id="CircleRectTriangle">
26 <g>
27 <circle cx="85" cy="80" r="40" fill="yellow" />
28 <g>
29 <rect x="145" y="45" width="90" height="70" fill="red" />
30 </g>
31 <path d="M260,40 L335,80 L260,120 z" fill="#4444ff" />
32 </g>
33 </g>
34 <path id="LineWithArrow"
35 d="M0,-15 h80 v-10 l40,25 l-40,25 v-10 h-80 z" />
36 </defs>
37 <g font-family="Verdana" font-size="30" >
38 <rect x="1" y="1" width="1128" height="218"
39 fill="#cccccc" stroke="blue" />
40 <use x="0" y="0" xlink:href="#CircleRectTriangle"/>
41 <text x="20" y="180">Original source graphic</text>
42 <use x="380" y="80" xlink:href="#LineWithArrow"/>
43 <text x="520" y="70">Filter</text>
44 <text x="520" y="120">Effect</text>
45 <use x="630" y="80" xlink:href="#LineWithArrow"/>
46 <text x="790" y="180">Result of filter effect</text>
47 </g>
48 <g filter="url(#MyFilter)" >
49 <use x="750" y="0" xlink:href="#CircleRectTriangle"/>
50 </g>
51 </svg>
52
53