Debian Codegraph @

test_non_regression/fail/images/filters-blend-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-blend-BE-02.svg -->
13 <!-- renamed to filters-blend-01-f.svg -->
14 <!-- -->
15 <!-- Verify correct operation of the five compositing modes of the -->
16 <!-- feBlend filter primitive. -->
17 <!-- -->
18 <!-- Author : Jon Ferraiolo, 15 March 2000 -->
19 <!-- Revised for 1.1 : Mike Bultrowicz, 4 February 2002 -->
20 <!-- -->
21 <!-- History: -->
22 <!-- 15-Mar-2000, JF: Serial#1 created. Matches 20000303 SVG spec. -->
23 <!-- 16-Mar-2000, LH="editorials" fix name (-02); fix Legend, ser#2. -->
24 <!-- 03-Aug-2000, LH=" update DOCTYPE for CR DTD, 20000802" ser# . -->
25 <!-- 16-Aug-2000, LH="rename" ser#3. -->
26 <!-- -->
27 <!--======================================================================-->
28 <!--======================================================================-->
29 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
30 <!--= log messages, and therefore is no longer in the preceding preamble.=-->
31 <!--======================================================================-->
32 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="480" height="360">
33 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
34 <OperatorScript>
35 <Paragraph>
36 Verify correct operation of the five compositing modes
37 of the feBlend filter primitive. Five text strings
38 blended into a gradient, with one text string for each of
39 the five feBlend modes. The string indicates the blend
40 mode.
41 </Paragraph>
42 <Paragraph>
43 The rendered picture should match the reference image
44 exactly, except for possible variations in the
45 labelling text (per CSS2 rules).
46 </Paragraph>
47 <Paragraph>
48 The test uses a nested 'svg' element, 'text' element,
49 the 'enable-background' property, and linear gradients.as
50 well as basic fill (solid primary colors), stroke (solid
51 primary colors with stroke-width lines), font-family
52 (Helvetica) and font-size properties.
53 </Paragraph>
54 </OperatorScript>
55 </SVGTestCase>
56 <title id="test-title">filters-blend-01-f</title>
57 <desc id="test-desc">Overall filter effects test case. Extracted from example filters00 in the March 3, 2000 spec.</desc>
58 <!--======================================================================-->
59 <!--Content of Test Case follows... =====================-->
60 <!--======================================================================-->
61 <g id="test-body-content">
62 <!-- Sample Content: framing rectangle drawn just inside viewport boundary. -->
63 <g font-size="12" font-family="Verdana" >
64 <text x="20" y="30" font-weight="bold">Examples of the five</text>
65 <text x="20" y="45" font-weight="bold">feBlend modes.</text>
66 <text x="30" y="75">Five text strings blended</text>
67 <text x="30" y="90">into a gradient, with one</text>
68 <text x="30" y="105">text string for each of the</text>
69 <text x="30" y="120">five feBlend modes. The </text>
70 <text x="30" y="135">string indicates the blend</text>
71 <text x="30" y="150">mode.</text>
72 </g>
73 <!-- Here is the test case -->
74 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="200" y="20" width="260" height="260" viewBox="0 0 500 500">
75 <title>Example feBlend - Examples of feBlend modes</title>
76 <desc>Five text strings blended into a gradient, with one text string for each of the five feBlend modes.</desc>
77 <defs>
78 <linearGradient id="MyGradient" gradientUnits="userSpaceOnUse" x1="100" y1="0" x2="300" y2="0">
79 <stop offset="0" stop-color="#000000" />
80 <stop offset=".33" stop-color="#ffffff" />
81 <stop offset=".67" stop-color="#ff0000" />
82 <stop offset="1" stop-color="#808080" />
83 </linearGradient>
84 <filter id="Normal">
85 <feBlend mode="normal" in2="BackgroundImage" in="SourceGraphic"/>
86 </filter>
87 <filter id="Multiply">
88 <feBlend mode="multiply" in2="BackgroundImage" in="SourceGraphic"/>
89 </filter>
90 <filter id="Screen">
91 <feBlend mode="screen" in2="BackgroundImage" in="SourceGraphic"/>
92 </filter>
93 <filter id="Darken">
94 <feBlend mode="darken" in2="BackgroundImage" in="SourceGraphic"/>
95 </filter>
96 <filter id="Lighten">
97 <feBlend mode="lighten" in2="BackgroundImage" in="SourceGraphic"/>
98 </filter>
99 </defs>
100 <rect fill="none" stroke="blue" x="1" y="1" width="498" height="498"/>
101 <g enable-background="new" >
102 <rect x="100" y="20" width="300" height="460" fill="url(#MyGradient)" />
103 <g font-family="Verdana" font-size="75" fill="#888888" fill-opacity=".6" >
104 <text x="50" y="90" filter="url(#Normal)" >Normal</text>
105 <text x="50" y="180" filter="url(#Multiply)" >Multiply</text>
106 <text x="50" y="270" filter="url(#Screen)" >Screen</text>
107 <text x="50" y="360" filter="url(#Darken)" >Darken</text>
108 <text x="50" y="450" filter="url(#Lighten)" >Lighten</text>
109 </g>
110 </g>
111 </svg>
112 </g>
113 <!--======================================================================-->
114 <!--Legend and frame: Title, suite and SVG document serialization====-->
115 <!--======================================================================-->
116 <g id="test-legend" fill="black" font-family="Helvetica" font-size="10">
117 <rect x="10" y="300" width="275" height="50" fill="none" stroke="#000000"/>
118 <path fill="none" stroke="#000000" d="M10 315 h275 M205 315 v35 M10 336 h195 M205 332 h80"/>
119 <text x="25" y="311">Scalable Vector Graphics (SVG) v1.1 Conformance Suite</text>
120 <a xlink:href="copyright-documents-19990405.html">
121 <text x="12" y="347" fill="blue" >Copyright 2002 W3C. All Rights Reserved.</text>
122 </a>
123 <text font-size="12" x="35" y="330">filters-blend-01</text>
124 <text font-size="10" x="210" y="327">$Revision: 1.1 $</text>
125 <text font-size="10" x="210" y="345">Release 1.0</text>
126 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
127 </g>
128 </svg>