Debian Codegraph @

samples/tests/resources/images/svg.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
7 Licensed to the Apache Software Foundation (ASF) under one or more
8 contributor license agreements. See the NOTICE file distributed with
9 this work for additional information regarding copyright ownership.
10 The ASF licenses this file to You under the Apache License, Version 2.0
11 (the "License"); you may not use this file except in compliance with
12 the License. You may obtain a copy of the License at
13
14 http://www.apache.org/licenses/LICENSE-2.0
15
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
21
22 -->
23 <!-- ========================================================================= -->
24 <!-- Referenced from image.svg -->
25 <!-- @author [email protected] -->
26 <!-- @version $Id$ -->
27 <!-- ========================================================================= -->
28 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="230" height="170" viewBox="0 0 230 170" preserveAspectRatio="xMidYMin slice" >
29 <defs>
30 <path id="SVG_S" d="M0,129.776l8.172-20.018c3.676,2.566,6.955,4.443,9.836,5.629c2.879,1.188,5.572,1.779,8.08,1.779c1.756,0,3.139-0.332,4.148-0.998c1.008-0.666,1.514-1.568,1.514-2.705c0-1.98-2.523-3.492-7.566-4.533
31 c-1.627-0.355-2.896-0.633-3.807-0.828c-5.34-1.301-9.424-3.613-12.256-6.934s-4.246-7.453-4.246-12.402c0-7.68,2.75-13.93,8.25-18.748c5.5-4.816,12.711-7.227,21.631-7.227c4.102,0,8.137,0.539,12.107,1.615c3.971,1.078,7.975,2.709,12.012,4.895l-7.813,18.721
32 c-2.475-1.82-4.957-3.209-7.447-4.168c-2.49-0.957-4.906-1.438-7.25-1.438c-1.791,0-3.174,0.301-4.15,0.902s-1.465,1.438-1.465,2.51c0,2.016,3.563,3.785,10.691,5.313c1.139,0.26,2.018,0.455,2.637,0.584c4.932,1.105,8.818,3.367,11.66,6.783
33 c2.84,3.416,4.262,7.547,4.262,12.395c0,7.906-2.857,14.365-8.572,19.375s-13.146,7.514-22.295,7.514c-4.689,0-9.379-0.668-14.066-2.004c-4.689-1.336-9.379-3.34-14.066-6.012z"/>
34 <path id="SVG_V" d="M88.605,135.917l-27.271-71.5h27.807l7.566,25.885c1.105,3.777,1.928,6.969,2.465,9.574c0.535,2.605,0.885,5.047,1.049,7.324h0.488c0.324-2.408,0.789-4.947,1.391-7.617s1.375-5.568,2.32-8.695l8.004-26.471h27.285
35 l-27.188,71.5H88.605z"/>
36 <path id="SVG_G" d="M184.471,110.292h-11.125v-16.75h39.5c0.064,1.465,0.113,2.555,0.146,3.27c0.031,0.715,0.049,1.35,0.049,1.902c0,4.098-0.393,7.838-1.174,11.221s-1.922,6.375-3.42,8.977c-3.648,6.115-8.357,10.791-14.123,14.027
37 c-5.766,3.234-12.314,4.854-19.643,4.854c-5.408,0-10.434-0.904-15.074-2.709c-4.643-1.807-8.756-4.469-12.338-7.984c-3.551-3.516-6.238-7.535-8.063-12.061c-1.824-4.523-2.736-9.439-2.736-14.746c0-5.338,0.92-10.277,2.76-14.818s4.521-8.537,8.041-11.988
38 c3.551-3.482,7.656-6.135,12.316-7.959c4.66-1.822,9.693-2.734,15.104-2.734c7.33,0,13.846,1.605,19.549,4.814s10.363,7.908,13.98,14.096l-22.967,8.465c-1.205-1.973-2.654-3.445-4.346-4.418c-1.693-0.971-3.631-1.457-5.811-1.457
39 c-3.811,0-6.848,1.447-9.109,4.338c-2.262,2.893-3.393,6.775-3.393,11.648c0,5.037,1.139,8.945,3.418,11.723c2.277,2.777,5.5,4.166,9.668,4.166c2.473,0,4.482-0.518,6.029-1.553s2.467-2.477,2.76-4.322z"/>
40 <path id="Ball" style="stroke:none;" d="M180.917,14.667c0,8.101-6.566,14.667-14.667,14.667c-8.101,0-14.667-6.566-14.667-14.667C151.583,6.566,158.15,0,166.25,0c8.1,0,14.667,6.566,14.667,14.667z"/>
41 <g id="Sprite">
42 <path fill="none" stroke="none" d="M5.25,35.667c14,0,24,8,27.667,21.667c4-11.333,12-23,25.333-19.333c12,3,15.667,10.667,21,20.333c3.667-15,22-30,34.667-37c10-5.333,21.333-7,32.333-7"/>
43 <path stroke="none" d="M5.25,39.659c13.783,0.264,23.765,8.329,27.561,21.524c0.071,0.19,0.141,0.19,0.212,0c3.661-10.004,10.322-20.697,22.352-19.76c12.265,0.956,18.46,11.104,23.77,20.76c0.071,0.19,0.141,0.19,0.212,0
44 c3.582-13.201,14.807-23.318,25.5-31.093c12.398-9.016,26.158-12.64,41.394-12.764c0.622-0.005,0.58-7.989,0-7.984c-10.044,0.082-19.844,1.473-29.133,5.436c-7.528,3.212-14.392,8.564-20.514,13.902c-6.039,5.265-11.44,11.438-15.137,18.576
45 c-0.824,1.592-1.432,3.277-1.983,4.979c-0.281,0.869-3.073-4.053-3.333-4.507c-1.628-2.837-3.473-5.501-5.688-7.91c-4.919-5.346-13.167-8.384-20.325-7.154c-6.945,1.194-11.644,7.805-14.684,13.59c-0.842,1.603-1.52,3.289-2.181,4.971
46 c-0.237,0.604-1.904-3.553-2.048-3.899c-1.315-3.167-3.301-5.993-5.598-8.514c-5.206-5.715-12.864-7.992-20.376-8.136c-0.552-0.011-0.649,7.972,0,7.984z"/>
47 </g>
48
49 <radialGradient id="ballGradient" cx=".25" cy=".25" r=".75">
50 <stop offset="0" stop-color="white" />
51 <stop offset=".1" stop-color="yellow" />
52 <stop offset=".3" stop-color="orange" />
53 <stop offset="1" stop-color="black" />
54 </radialGradient>
55
56 <linearGradient id="spriteGradient" >
57 <stop offset="0" stop-opacity="0" />
58 <stop offset=".1" stop-opacity="0" />
59 <stop offset=".2" stop-opacity="1" />
60 </linearGradient>
61
62 <filter id="shadow" filterRes="200" x="0" y="0">
63 <feGaussianBlur stdDeviation="3 3" />
64 <feOffset dx="10" dy="10" />
65 </filter>
66
67 </defs>
68
69 <g fill="black" filter="url(#shadow)" stroke="none" opacity=".5">
70 <use xlink:href="#SVG_S" />
71 <use xlink:href="#SVG_V" />
72 <use xlink:href="#SVG_G" />
73 <use xlink:href="#Sprite" fill="url(#spriteGradient)"/>
74 <use xlink:href="#Ball" />
75 </g>
76
77 <g fill="black" stroke="none">
78 <use xlink:href="#SVG_S" />
79 <use xlink:href="#SVG_V" />
80 <use xlink:href="#SVG_G" />
81 </g>
82 <use xlink:href="#Sprite" fill="url(#spriteGradient)"/>
83 <use xlink:href="#Ball" fill="url(#ballGradient)"/>
84
85 </svg>