Debian Codegraph @

samples/tests/resources/svg/defs2.svg

raw
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
3 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
5 <!--
6 Licensed to the Apache Software Foundation (ASF) under one or more
7 contributor license agreements. See the NOTICE file distributed with
8 this work for additional information regarding copyright ownership.
9 The ASF licenses this file to You under the Apache License, Version 2.0
10 (the "License"); you may not use this file except in compliance with
11 the License. You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 -->
21
22 <!-- ========================================================================= -->
23 <!-- Test description here -->
24 <!-- -->
25 <!-- @author [email protected] -->
26 <!-- @version $Id$ -->
27 <!-- ========================================================================= -->
28
29 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450" height="500" viewBox="0 0 450 500">
30
31 <text x="225" y="50" class="title">Not a test - only contains definitions</text>
32
33 <defs>
34
35 <linearGradient id="linear">
36 <stop style="stop-color:blue" offset="0" />
37 <stop style="stop-color:white" offset=".5" />
38 <stop style="stop-color:gold" offset=".51" />
39 <stop style="stop-color:crimson" offset="1" />
40 </linearGradient>
41
42 <radialGradient id="radial">
43 <stop style="stop-color:white" offset="0" />
44 <stop style="stop-color:gold" offset=".2" />
45 <stop style="stop-color:orange" offset="1" />
46 </radialGradient>
47
48 <pattern id="pattern">
49 <rect x="0" y="0" width="5" height="5" style="fill:crimson" />
50 <rect x="5" y="0" width="5" height="5" style="fill:orange" />
51 <rect x="0" y="5" width="5" height="5" style="fill:gold" />
52 <rect x="5" y="5" width="5" height="5" style="fill:white" />
53 </pattern>
54
55 </defs>
56
57 </svg>