Debian Codegraph @

samples/batikBatik.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 <!-- @author [email protected] -->
25 <!-- @version $Id$ -->
26 <!-- ========================================================================= -->
27
28 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450" height="500" xml:space="preserve" viewBox="0 0 450 500">
29 <!-- ============================================================= -->
30 <!-- Test content -->
31 <!-- ============================================================= -->
32 <defs>
33 <filter id="tableRedOrangeTint" filterUnits="objectBoundingBox"
34 x="0%" y="0%" width="100%" height="100%">
35 <feTurbulence type="turbulence" baseFrequency="0.02" numOctaves="1"/>
36
37 <feComponentTransfer>
38 <feFuncR type="gamma" amplitude="1" exponent=".42" offset="0" />
39 <feFuncG type="gamma" amplitude="1" exponent=".42" offset="0" />
40 <feFuncB type="gamma" amplitude="1" exponent=".42" offset="0" />
41 </feComponentTransfer>
42
43 <feColorMatrix type="luminanceToAlpha" />
44 <feColorMatrix type="matrix" values="0 0 0 -1 1
45 0 0 0 -1 1
46 0 0 0 -1 1
47 0 0 0 0 1" />
48 <feComponentTransfer>
49 <feFuncR type="table" tableValues="1 1.0 0.95 0.85 0.6 0.4" />
50 <feFuncG type="table" tableValues="1 1.0 0.75 0.55 0.3 0.3" />
51 <feFuncB type="table" tableValues="1 0.4 0 0 0 0" />
52 <feFuncA type="linear" slope="1" intercept="0"/>
53 </feComponentTransfer>
54 <feComponentTransfer>
55 <feFuncR type="gamma" amplitude="1" exponent="2.4" offset="0" />
56 <feFuncG type="gamma" amplitude="1" exponent="2.4" offset="0" />
57 <feFuncB type="gamma" amplitude="1" exponent="2.4" offset="0" />
58 </feComponentTransfer>
59 <feComposite operator="in" in2="SourceGraphic" />
60 </filter>
61
62 <filter id="tableBlueAquaTint" filterUnits="objectBoundingBox"
63 x="0%" y="0%" width="100%" height="100%">
64 <feTurbulence type="turbulence" baseFrequency="0.01" numOctaves="2"/>
65 <feComponentTransfer>
66 <feFuncR type="gamma" amplitude="1" exponent=".42" offset="0" />
67 <feFuncG type="gamma" amplitude="1" exponent=".42" offset="0" />
68 <feFuncB type="gamma" amplitude="1" exponent=".42" offset="0" />
69 </feComponentTransfer>
70 <feColorMatrix type="luminanceToAlpha" />
71 <feColorMatrix type="matrix" values="0 0 0 -1 1 0 0 0 -1 1 0 0 0 -1 1 0 0 0 0 1" />
72 <feComponentTransfer>
73 <feFuncR type="table" tableValues="1 0.5 0 0 0 0" />
74 <feFuncG type="table" tableValues="1 .9 .6 .4 .35 .2" />
75 <feFuncB type="table" tableValues="1 .9 .8 .6 .5 .2" />
76 <feFuncA type="linear" slope="1" intercept=".1" />
77 </feComponentTransfer>
78 <feComponentTransfer>
79 <feFuncR type="gamma" amplitude="1" exponent="2.4" offset="0" />
80 <feFuncG type="gamma" amplitude="1" exponent="2.4" offset="0" />
81 <feFuncB type="gamma" amplitude="1" exponent="2.4" offset="0" />
82 </feComponentTransfer>
83 </filter>
84 <filter id="tableBlueVioletTint" filterUnits="objectBoundingBox"
85 x="0%" y="0%" width="100%" height="100%">
86 <feTurbulence type="turbulence" baseFrequency="0.02" numOctaves="2"/>
87 <feComponentTransfer>
88 <feFuncR type="gamma" amplitude="1" exponent=".42" offset="0" />
89 <feFuncG type="gamma" amplitude="1" exponent=".42" offset="0" />
90 <feFuncB type="gamma" amplitude="1" exponent=".42" offset="0" />
91 </feComponentTransfer>
92 <feColorMatrix type="luminanceToAlpha" />
93 <feColorMatrix type="matrix" values="0 0 0 -1 1 0 0 0 -1 1 0 0 0 -1 1 0 0 0 0 1" />
94 <feComponentTransfer>
95 <feFuncR type="table" tableValues="0 .1 .2 .3 .4 .5" />
96 <feFuncG type="table" tableValues="0 0 0 0 0.2 .4" />
97 <feFuncB type="table" tableValues=".1 .2 .6 .8 .7 .7" />
98 <feFuncA type="linear" slope="1" intercept="0" />
99 </feComponentTransfer>
100 <feComponentTransfer>
101 <feFuncR type="gamma" amplitude="1" exponent="2.4" offset="0" />
102 <feFuncG type="gamma" amplitude="1" exponent="2.4" offset="0" />
103 <feFuncB type="gamma" amplitude="1" exponent="2.4" offset="0" />
104 </feComponentTransfer>
105 <feComposite operator="in" in2="SourceGraphic" />
106 </filter>
107 <filter id="tableGreenTint" filterUnits="objectBoundingBox"
108 x="0%" y="0%" width="100%" height="100%">
109 <feTurbulence type="turbulence" baseFrequency="0.015" numOctaves="1"/>
110 <feComponentTransfer>
111 <feFuncR type="gamma" amplitude="1" exponent=".42" offset="0" />
112 <feFuncG type="gamma" amplitude="1" exponent=".42" offset="0" />
113 <feFuncB type="gamma" amplitude="1" exponent=".42" offset="0" />
114 </feComponentTransfer>
115 <feColorMatrix type="luminanceToAlpha" />
116 <feColorMatrix type="matrix" values="0 0 0 -1 1 0 0 0 -1 1 0 0 0 -1 1 0 0 0 0 1" />
117 <feComponentTransfer>
118 <feFuncR type="table" tableValues="0 0 0 0 0.5 1" />
119 <feFuncG type="table" tableValues=".4 .4 .4 .6 .5 .3" />
120 <feFuncB type="table" tableValues="0.1 .2 .3 .4 .4 .2" />
121 <feFuncA type="linear" slope="1" intercept="0" />
122 </feComponentTransfer>
123 <feComponentTransfer>
124 <feFuncR type="gamma" amplitude="1" exponent="2.4" offset="0" />
125 <feFuncG type="gamma" amplitude="1" exponent="2.4" offset="0" />
126 <feFuncB type="gamma" amplitude="1" exponent="2.4" offset="0" />
127 </feComponentTransfer>
128 </filter>
129
130 <path transform="scale(0.9)" id="logoText" d="M64.994,178.963V77.831c0-6.188-0.57-10.773-1.707-13.754c-1.137-2.977-3.066-5.461-5.793-7.449c-1.137-0.766-2.367-1.395-3.695-1.891s-3.012-0.938-5.055-1.32c-2.125-0.371-3.488-0.781-4.094-1.23s-0.906-1.121-0.906-2.02c0-1.195,0.32-2.035,0.969-2.52
131 c0.645-0.484,1.953-0.73,3.93-0.73c0.758,0,3.816,0.211,9.176,0.625c5.355,0.418,10.387,0.625,15.098,0.625c2.961,0,7.883-0.207,14.758-0.625c6.875-0.414,12.324-0.625,16.352-0.625c16.711,0,29.762,3.461,39.145,10.379s14.074,16.574,14.074,28.965
132 c0,7.148-1.793,13.418-5.375,18.816c-3.586,5.398-9,9.996-16.242,13.797v2.18c11.574,2.051,20.445,6.547,26.613,13.492s9.254,15.879,9.254,26.805c0,15.406-5.184,27.645-15.551,36.715s-24.473,13.602-42.316,13.602c-6.078,0-13.367-0.293-21.871-0.875
133 c-8.508-0.586-13.898-0.875-16.172-0.875c-6.762,0-13.863,0.348-21.301,1.043c-1.824,0.137-2.965,0.207-3.418,0.207c-0.609,0-1.199-0.344-1.77-1.027s-0.852-1.406-0.852-2.172c0-1.598,1.355-2.93,4.074-3.996l0.113-0.055c1.809-0.836,3.223-1.574,4.242-2.223
134 c1.02-0.645,1.906-1.387,2.66-2.223c2.039-2.047,3.492-4.516,4.359-7.402s1.301-7.254,1.301-13.105z M82.994,110.209c0,3.648,0.453,5.93,1.367,6.84c0.914,0.914,2.816,1.367,5.711,1.367h16.555c12.023,0,20.758-2.031,26.203-6.098
135 c5.441-4.066,8.164-10.508,8.164-19.324c0-10.945-4.188-20.027-12.559-27.246c-8.375-7.219-18.914-10.832-31.625-10.832c-5.711,0-9.441,0.855-11.191,2.566s-2.625,5.148-2.625,10.316v42.41z M82.994,187.737c0,6.539,1.789,10.953,5.371,13.242
136 c3.578,2.293,11.16,3.438,22.746,3.438c14.172,0,24.82-3.031,31.945-9.094s10.688-15.156,10.688-27.281c0-13.031-4.234-23.188-12.695-30.461s-20.316-10.914-35.563-10.914H91.213c-3.578,0-5.84,0.477-6.793,1.426s-1.426,3.285-1.426,7.004v52.641zM238.275,198.952c-5.238,4.766-10.891,8.285-16.961,10.559c-6.07,2.27-12.863,3.406-20.375,3.406c-7.363,0-12.98-1.922-16.848-5.762c-3.871-3.844-5.805-9.414-5.805-16.719c0-9.359,4.266-16.758,12.805-22.195
137 c8.535-5.438,23.766-10.215,45.695-14.324v-15.789c0-7.09-2.16-12.523-6.477-16.297s-10.523-5.664-18.625-5.664c-6.891,0-11.758,0.992-14.598,2.977s-4.258,5.336-4.258,10.063c0,1.984,0.281,4.27,0.852,6.863s0.855,4.156,0.855,4.688
138 c0,1.07-0.516,1.945-1.547,2.633s-2.352,1.027-3.953,1.027c-3.055,0-5.652-0.816-7.793-2.449s-3.207-3.664-3.207-6.098c0-6.605,3.664-12.625,11-18.055c7.332-5.43,15.977-8.148,25.93-8.148c13.906,0,23.727,2.621,29.465,7.855
139 c5.734,5.238,8.605,14.535,8.605,27.891v42.844c0,6.516,0.621,10.715,1.867,12.594s3.609,2.816,7.086,2.816c0.602,0,1.434-0.035,2.492-0.113c1.055-0.078,1.773-0.117,2.152-0.117c0.527,0,1.02,0.246,1.473,0.73c0.453,0.488,0.68,1.07,0.68,1.742
140 c0,1.574-1.273,2.887-3.816,3.934s-5.785,1.574-9.73,1.574c-4.176,0-7.668-1.039-10.477-3.117s-4.973-5.191-6.488-9.348z M236.787,159.167c-16.43,3.43-27.789,7.273-34.074,11.535c-6.285,4.266-9.426,9.973-9.426,17.129c0,5.559,1.512,9.879,4.543,12.961
141 c3.027,3.086,7.27,4.625,12.723,4.625c7.492,0,13.738-1.941,18.738-5.832c4.996-3.887,7.496-8.813,7.496-14.777v-25.641z
142 M274.411,122.417h-8.586c-0.602,0-1.281-0.285-2.035-0.855s-1.129-1.164-1.129-1.773c0-0.531,1.648-2.246,4.953-5.141s6.398-5.941,9.285-9.141c2.051-2.207,4.309-5.48,6.777-9.824s4.309-6.516,5.527-6.516c0.68,0,1.137,0.195,1.363,0.578
143 s0.344,1.152,0.344,2.301v21.121h20.266c4.555,0,8.539-0.902,11.953-2.711c0.984-0.523,1.668-0.789,2.051-0.789c0.301,0,0.527,0.133,0.68,0.395c0.152,0.266,0.23,0.695,0.23,1.297c0,3.086-0.93,5.777-2.789,8.07c-1.859,2.297-4.195,3.441-7.004,3.441
144 c-0.453,0-1.137-0.074-2.047-0.227c-0.914-0.148-1.633-0.227-2.164-0.227h-21.176v64.957c0,5.688,1.383,9.992,4.156,12.914c2.77,2.922,6.813,4.379,12.125,4.379c4.93,0,10.055-1.441,15.367-4.324c1.594-0.832,2.617-1.25,3.074-1.25c0.68,0,1.23,0.117,1.648,0.344
145 c0.418,0.23,0.629,0.574,0.629,1.031c0,2.75-2.816,5.598-8.441,8.539c-5.629,2.938-11.828,4.41-18.594,4.41c-9.43,0-16.199-2.379-20.305-7.133c-4.109-4.754-6.16-12.762-6.16-24.027v-59.84z
146 M319.032,184.389V142.35c0-7.898-0.703-12.984-2.105-15.266c-1.406-2.277-4.043-3.418-7.91-3.418c-2.199,0-3.828-0.227-4.891-0.68s-1.594-1.137-1.594-2.051c0-1.516,1.863-2.766,5.598-3.754l0.23-0.016c1.75-0.301,3.484-0.719,5.199-1.25
147 c1.711-0.531,3.484-1.211,5.313-2.047c2.207-0.906,4.988-2.25,8.34-4.031s5.559-2.672,6.625-2.672c0.992,0,1.676,0.23,2.059,0.684c0.379,0.457,0.57,1.48,0.57,3.074c0,0.305-0.039,1.484-0.117,3.531c-0.379,11.391-0.566,22.93-0.566,34.617v35.543
148 c0,6.078,0.547,10.313,1.648,12.703c1.102,2.395,3.168,4.387,6.203,5.98c0.906,0.457,1.91,0.801,3.012,1.027s2.371,0.34,3.813,0.34c2.352,0.152,3.867,0.492,4.551,1.023c0.68,0.531,1.023,1.363,1.023,2.5c0,0.758-0.383,1.402-1.141,1.934
149 c-0.758,0.527-1.707,0.793-2.848,0.793c-0.531,0-3.266-0.211-8.199-0.625c-4.938-0.414-9.566-0.625-13.895-0.625c-6.305,0-12.383,0.375-18.227,1.125c-0.914,0.082-1.48,0.125-1.707,0.125c-0.762,0-1.406-0.25-1.938-0.738c-0.531-0.492-0.797-1.082-0.797-1.766
150 c0-0.758,0.223-1.422,0.676-1.992s1.281-1.156,2.488-1.766c0.227-0.148,0.602-0.379,1.129-0.684c1.656-1.211,2.859-2.238,3.617-3.074c1.43-1.82,2.426-3.828,2.992-6.031c0.563-2.203,0.848-5.695,0.848-10.477z M318.032,74.292c0-2.195,1.309-4.852,3.926-7.961
151 s4.719-4.664,6.313-4.664c1.438,0,3.469,1.5,6.086,4.492c2.617,2.996,3.926,5.48,3.926,7.449c0,1.898-1.254,4.383-3.754,7.453c-2.504,3.07-4.742,4.605-6.711,4.605c-1.977,0-4.102-1.305-6.375-3.922s-3.41-5.102-3.41-7.453z
152 M375.257,184.307V72.413c0-8.078-0.68-13.219-2.031-15.43s-3.906-3.316-7.664-3.316h-1.805c-1.387,0-2.465-0.242-3.23-0.734c-0.77-0.492-1.191-1.188-1.27-2.094c0-1.656,1.977-2.941,5.93-3.848l0.23-0.074c1.824-0.301,3.516-0.68,5.074-1.133
153 s3.098-0.984,4.617-1.594c2.66-1.059,5.586-2.535,8.781-4.43c3.191-1.895,5.246-2.844,6.16-2.844c0.984,0,1.746,0.383,2.277,1.141s0.801,1.859,0.801,3.301c0,0.305-0.039,1.082-0.113,2.332c-0.078,1.254-0.113,2.375-0.113,3.359
154 c-0.383,5.391-0.668,10.684-0.859,15.883s-0.285,10.531-0.285,15.996v80.641l33.148-30.207c1.434-1.367,2.566-2.715,3.398-4.047c0.832-1.328,1.25-2.527,1.25-3.594c0-1.289-1.324-2.316-3.969-3.078c-0.305-0.074-0.566-0.148-0.793-0.227
155 c-1.891-0.375-3.215-0.828-3.969-1.359c-0.758-0.527-1.133-1.242-1.133-2.148c0-0.68,0.453-1.262,1.359-1.754s2.004-0.738,3.289-0.738c0.301,0,2.305,0.211,6.008,0.625c3.703,0.418,7.297,0.625,10.773,0.625c2.871,0,6.141-0.207,9.809-0.625
156 c3.664-0.414,5.875-0.625,6.633-0.625c1.438,0,2.496,0.227,3.176,0.68s1.02,1.133,1.02,2.039c0,1.734-1.285,2.828-3.855,3.281h-0.113c-1.133,0.152-2.27,0.379-3.402,0.684s-2.305,0.723-3.516,1.254c-7.332,2.891-13.758,7.07-19.273,12.543
157 c-0.605,0.684-1.059,1.141-1.359,1.367l-19.73,17.781c10.66,14.914,19.223,26.215,25.688,33.902s11.59,12.672,15.371,14.953c3.023,1.75,6.879,2.969,11.566,3.652c0.375,0.078,0.641,0.113,0.793,0.113c2.191,0.152,3.609,0.438,4.254,0.852
158 c0.641,0.414,1,1.113,1.078,2.094c0,1.133-0.512,1.922-1.535,2.375s-3.012,0.68-5.965,0.68h-19.277c-5,0-15.23-10.113-30.684-30.34c-5.609-7.375-10.117-13.227-13.523-17.563l-6.516,6.156v15.617c0,6.852,0.531,11.344,1.602,13.477
159 c1.066,2.133,3.086,3.883,6.059,5.25c1.219,0.535,3.121,0.992,5.715,1.371c0.078,0.023,0.152,0.031,0.23,0.031c2.133,0.152,3.523,0.492,4.172,1.023s0.973,1.363,0.973,2.5c0,0.836-0.344,1.496-1.027,1.988s-1.594,0.738-2.734,0.738
160 c-0.305,0-2.758-0.211-7.355-0.625c-4.602-0.414-8.992-0.625-13.172-0.625c-6.309,0-12.313,0.375-18.016,1.125c-0.914,0.082-1.445,0.125-1.594,0.125c-0.836,0-1.523-0.25-2.055-0.746s-0.797-1.09-0.797-1.777c0-0.766,0.262-1.473,0.789-2.121
161 c0.523-0.648,1.613-1.434,3.27-2.355c0.375-0.227,0.789-0.492,1.242-0.797c1.273-0.758,2.215-1.445,2.816-2.055c1.277-1.367,2.16-3.074,2.648-5.129c0.488-2.051,0.734-5.926,0.734-11.629z"/>
162
163 <path id="leaf1" d="M210.,230. T 270.,290. 305.,355. 210.,230."/>
164
165 <path id="leaf2" d="M110.,320. T 220.,330. 255.,345. 110.,320."/>
166
167 <clipPath id="clipStalk1" fill="white">
168 <path id="stalk1"
169 d="M80.,350. T 225.,355. 290.,340. 85.,350."/>
170 </clipPath>
171
172 <clipPath id="clipStalk2" fill="white">
173 <path id="stalk2"
174 d="M268.,332. T 360.,435. 385.,438. 263.,328"/>
175 </clipPath>
176
177 </defs>
178
179 <rect width="100%" height="100%" filter="url(#tableBlueAquaTint)" />
180
181 <g style="fill:none; stroke:white; stroke-width:4.5; stroke-linecap:round; stroke-linejoin:round">
182 <g>
183 <use xlink:href="#logoText" stroke="none" fill="black" filter="url(#tableRedOrangeTint)"/>
184 <use xlink:href="#logoText" stroke-width="5" opacity="0.75"/>
185 </g>
186 <g>
187 <use xlink:href="#leaf2" stroke="none" fill="black" filter="url(#tableBlueVioletTint)"/>
188 <use xlink:href="#leaf2" opacity="0.75"/>
189 </g>
190 <g transform="rotate(25) translate(110, -165)">
191 <use xlink:href="#leaf1" stroke="none" fill="black" filter="url(#tableRedOrangeTint)" />
192 <use xlink:href="#leaf1" opacity="0.75"/>
193 </g>
194 <g>
195 <use xlink:href="#leaf1" stroke="none" fill="black" filter="url(#tableRedOrangeTint)" />
196 <use xlink:href="#leaf1" opacity="0.75"/>
197 </g>
198 <g transform="rotate(-25) translate(-180, 90)">
199 <use xlink:href="#leaf1" stroke="none" fill="black" filter="url(#tableRedOrangeTint)" />
200 <use xlink:href="#leaf1" opacity="0.75"/>
201 </g>
202 <g transform="rotate(82) translate(120, -595)">
203 <use xlink:href="#leaf2" stroke="none" fill="black" filter="url(#tableBlueVioletTint)"/>
204 <use xlink:href="#leaf2" opacity="0.75"/>
205 </g>
206 <rect width="100%" height="100%" filter="url(#tableGreenTint)" style="clip-path:url(#clipStalk1)"/>
207 <use xlink:href="#stalk1" opacity="0.75"/>
208 <rect width="100%" height="100%" filter="url(#tableGreenTint)" style="clip-path:url(#clipStalk2)"/>
209 <use xlink:href="#stalk2" opacity="0.75"/>
210 </g>
211
212 </svg>