Debian Codegraph @

samples/batik70.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 <!-- Test description here -->
25 <!-- -->
26 <!-- @author [email protected] -->
27 <!-- @version $Id$ -->
28 <!-- ========================================================================= -->
29
30 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="body" width="450" height="500" viewBox="0 0 450 500">
31 <title>Batik, 70's Mood</title>
32 <!-- ============================================================= -->
33 <!-- Test content -->
34 <!-- ============================================================= -->
35 <g id="testContent" style="overflow:hidden">
36
37 <defs>
38 <pattern id="backgroundPattern" patternUnits="userSpaceOnUse"
39 x="0" y="0" width="20" height="10" style="overflow:hidden">
40 <rect x="0" y="0" width="10" height="10" fill="rgb(110, 200, 255)" fill-opacity=".5" />
41 <rect x="0" y="-5" width="8" height="20" fill="none" stroke="rgb(204, 102, 53)" stroke-width="1"/>
42 </pattern>
43
44 <g id="batik">
45 <path id="Batik_B" d="M50.037,12.141l0.463,3.236c0,1.465-0.039,2.484-0.115,3.063s-0.344,1.213-0.803,1.906l-1.834,3.234l-2.521,3.814c4.395,6.24,7.326,10.824,8.791,13.75l3.008,6.355l1.967,6.701c0.848,3.16,1.271,6.279,1.271,9.361
46 c0,5.008-0.869,9.57-2.604,13.691s-4.145,7.453-7.229,9.996c-3.086,2.543-6.998,4.449-11.74,5.719s-9.543,1.906-14.4,1.906c-3.855,0-7.096-0.27-9.717-0.809c-3.238-0.461-5.688-1.193-7.346-2.195c-1.658-1-3.123-2.195-4.395-3.582
47 C1.561,86.902,0.617,85.055,0,82.742c0-5.082,1.117-10.436,3.355-16.061l6.709-17.68c2.234-6.086,3.354-11.748,3.354-16.986c-0.232-2.156-0.617-4.197-1.156-6.123l-1.852-6.471c-0.695-2.311-2.121-5.008-4.279-8.09l-0.115-0.924V9.715
48 c0-3.158,1.309-5.238,3.928-6.24c4.775-1.232,9.859-1.85,15.252-1.85c6.316,0,11.746,0.828,16.291,2.484s7.395,4.334,8.551,8.031z M29.518,12.625c-0.846,0.461-1.268,1.189-1.268,2.186c0,0.691,0.326,1.668,0.979,2.934s1.096,2.434,1.326,3.506
49 c1.074-0.383,1.938-1.148,2.59-2.299s0.98-2.416,0.98-3.797c-0.23-0.842-0.787-1.512-1.67-2.012s-1.863-0.672-2.938-0.518z M30.537,33.979L29.496,45.66c0,0.617,0.203,1.119,0.609,1.504l1.826,0.463l2.193-0.463c0.645-0.23,1.363-1.039,2.152-2.428
50 c0.645-1.387,0.969-3.045,0.969-4.975V38.49c0-0.539-0.078-1.041-0.232-1.504c0-0.617-0.502-1.389-1.504-2.314c-1.004-0.77-1.967-1.156-2.891-1.156c-0.771,0-1.465,0.154-2.082,0.463z"/>
51 <path id="Batik_A" d="M105.245,27.799c0,2.086-0.695,5.736-2.082,10.951c-1.389,5.215-2.082,8.828-2.082,10.836c0,2.473,0.805,5.389,2.414,8.748c1.609,3.361,3.105,7.07,4.486,11.125c1.379,4.057,2.07,8.17,2.07,12.34
52 c0,2.086-0.232,4.289-0.693,6.605c-2.082,2.086-4.898,3.787-8.445,5.1c-3.471,1.08-7.133,1.621-10.988,1.621h-4.049c-0.695,0-1.254-0.039-1.678-0.115c-0.424-0.08-1.561-0.311-3.41-0.697c-1.234-0.156-2.432-0.387-3.588-0.697
53 c-1.156-0.309-2.391-0.734-3.699-1.277c-2.777-1.625-4.666-3.561-5.668-5.807l-1.967-5.807l-0.463-5.344l0.115-4.412c0-1.006,0.27-2.477,0.811-4.414c0-2.941,0.539-5.729,1.619-8.361c0.617-1.471,1.387-2.941,2.313-4.412s2.197-3.252,3.818-5.344
54 c3.006-3.871,7.4-6.773,13.186-8.709c1.773-1.084,2.66-2.672,2.66-4.762c0-0.773-0.252-1.588-0.752-2.439c-0.502-0.852-1.408-1.277-2.719-1.277c-0.539,0-1.156,0.176-1.85,0.525c-0.695,0.35-1.621,1.883-2.777,4.598c-0.926,2.563-1.967,4.078-3.123,4.543
55 l-2.66,0.465c-1.156,0-2.141-0.211-2.949-0.637c-0.811-0.424-1.447-1.137-1.908-2.141l-0.348-2.084l-0.115-1.621c0-2.314,0.676-4.494,2.027-6.539s3.688-3.762,7.01-5.15c3.32-1.389,6.836-2.084,10.545-2.084c1.699,0,2.914,0.039,3.648,0.115
56 c0.734,0.078,1.932,0.385,3.592,0.922s3.186,1.266,4.576,2.186c1.387,0.691,2.428,1.842,3.123,3.451z M86.477,49.361c-1.164,0.541-2.172,1.582-3.023,3.123c-0.621,1.467-0.932,3.164-0.932,5.09l0.115,2.082c0,2.623,1.279,3.934,3.84,3.934
57 c0.697-1.002,1.201-2.467,1.514-4.396l0.465-6.014v-3.818c-0.311-0.385-0.543-0.578-0.697-0.578l-1.281,0.578z"/>
58 <path id="Batik_T" d="M140.626,11.268l0.578,2.082c0,1.158-0.605,2.797-1.813,4.918c-1.209,2.121-1.813,3.607-1.813,4.455c0,0.541,0.232,1.158,0.701,1.852c0.156,0.156,1.131,0.465,2.924,0.926h2.529c1.445,0,2.609,0.379,3.494,1.135
59 l0.602,2.727v1.816c0,0.928-0.271,1.777-0.811,2.549c-0.311,0.232-2.088,0.656-5.332,1.273c-2.627,0-4.172,0.926-4.635,2.777l-0.348,3.008v1.273c0,4.783,2.07,11.225,6.211,19.324c4.141,8.102,6.211,14.234,6.211,18.398c0,1.391-0.078,2.393-0.23,3.008
60 l-0.463,2.662c-0.078,0.85-0.541,2.084-1.389,3.703c-1.389,2.314-3.395,3.992-6.016,5.033s-5.396,1.563-8.326,1.563c-3.625,0-7.326-0.617-11.104-1.852c-2.082-1.387-3.74-3.277-4.975-5.67c-1.08-2.545-1.619-5.168-1.619-7.869c0-2.314,0.191-4.09,0.574-5.324
61 l4.25-13.076c0.467-1.465,0.934-2.99,1.402-4.572s0.877-3.182,1.229-4.803c0.352-1.619,0.604-3.066,0.76-4.34s0.234-2.604,0.234-3.992c0-2.777-0.271-5.207-0.811-7.291c-0.463-0.693-2.006-1.387-4.629-2.082c-2.625-0.695-3.936-1.93-3.936-3.705v-2.082
62 l0.596-2.547c0.238-0.926,0.914-1.426,2.027-1.504l1.072,0.115c1.271,0,2.266-0.346,2.98-1.041c0.715-0.693,1.074-1.504,1.074-2.43c0-0.848,0-1.465,0-1.852c0-0.617-0.355-1.582-1.066-2.895l-0.934-3.24c0-1.234,0.424-2.275,1.271-3.125
63 c2.695-1.465,5.66-2.199,8.896-2.199c3.928,0,7.471,0.965,10.629,2.893z"/>
64 <path id="Batik_I" d="M180.858,27.877l0.344,2.777c0,1.852-0.855,4.857-2.563,9.021c-1.709,4.164-2.563,7.25-2.563,9.254v2.43c0,3.701,1.77,9.195,5.313,16.482c3.541,7.287,5.313,12.473,5.313,15.557c0,2.16-0.654,4.318-1.961,6.479
65 s-3.689,4.203-7.146,6.129c-2.613,1.078-5.535,1.619-8.762,1.619c-4.383,0-8.033-0.965-10.953-2.891c-1.844-2.004-3.229-3.971-4.15-5.898l-0.807-3.008l-0.346-3.355c0-3.547,1.666-8.943,5-16.193c3.332-7.248,5-12.723,5-16.424v-2.43v-1.734
66 c0-1.695-0.896-4.318-2.688-7.865c-1.793-3.547-2.688-6.092-2.688-7.635c0-1.078,0.324-2.1,0.977-3.064s1.936-1.986,3.852-3.066l4.139-0.463l4.254-0.348c2.217,0,4.205,0.348,5.963,1.043s3.248,1.889,4.473,3.584z M169.567,0c2.52,0,4.965,0.852,7.332,2.553
67 s3.553,3.75,3.553,6.145c0,3.094-0.783,5.896-2.35,8.408c-1.566,2.514-3.609,3.77-6.129,3.77c-3.285,0-6.131-0.889-8.537-2.666s-3.609-4.176-3.609-7.191c0-2.783,0.896-5.314,2.691-7.596S166.663,0,169.567,0z"/>
68 <path id="Batik_K" d="M216.409,4.965v2.193v3.35c-0.084,0.387-0.252,1.098-0.504,2.137s-0.545,1.982-0.881,2.828c-0.422,1.848-0.715,3.119-0.883,3.811c-0.504,2.156-0.756,3.541-0.756,4.156l-0.352,5.773c0,3.313,0.469,6.699,1.41,10.162
69 c1.309-0.922,3.391-4.27,6.242-10.041s6.127-8.658,9.826-8.658h1.387l2.08,0.463c1.85,0,3.449,0.213,4.797,0.635c1.348,0.424,2.447,1.328,3.295,2.711c0,2.924-2.082,5.732-6.246,8.424s-6.709,4.691-7.633,5.998l-2.314,2.652c-0.463,0.539-0.732,1.424-0.809,2.654
70 l0.346,1.621c5.629,4.709,9.85,9.379,12.664,14.012s4.723,8.627,5.727,11.984c1.002,3.359,1.504,6.582,1.504,9.668c0,3.012-0.463,6.021-1.389,9.031c-0.85,1.313-2.201,2.434-4.053,3.359c-1.621,0.693-3.59,1.271-5.904,1.736c-2.934,0-5.363-0.367-7.293-1.1
71 c-1.93-0.734-3.475-2.145-4.631-4.23c-0.311-0.926-0.6-2.027-0.869-3.303c-0.27-1.273-0.482-2.375-0.637-3.303l-0.375-7.418v-3.824l0.375-3.939c0-3.398-0.24-6.373-0.721-8.924c-0.48-2.549-1.602-5.215-3.363-7.996l-1.08-0.463c-0.391,0-0.818,0.232-1.283,0.695
72 l-0.701,1.623c0,3.789,0.607,9.143,1.824,16.061c1.215,6.92,1.824,11.615,1.824,14.088c0,2.32-0.232,4.756-0.693,7.307c-0.461,1.469-1.75,2.688-3.867,3.652S208.03,96,205.491,96c-3.539,0-6.656-0.619-9.35-1.854c-1.617-1.004-2.809-2.512-3.578-4.521
73 s-1.154-4.252-1.154-6.725v-3.479l0.463-3.016l0.346-2.318c0-0.773,0.191-1.584,0.578-2.436l4.283-15.303c2.469-8.813,3.705-16.078,3.705-21.799c0-3.398-0.27-6.451-0.805-9.158l-4.945-17.508c0-1.469,0.268-2.744,0.807-3.826c0.461-1.236,1.422-2.396,2.883-3.479
74 L203.22,0h3.459c2.316,0,4.285,0.348,5.906,1.039c1.621,0.693,2.896,2.002,3.824,3.926z"/>
75 </g>
76
77 <filter id="shadow" filterRes="200" x="-.2" y="-.1">
78 <feGaussianBlur stdDeviation="3 3" />
79 <feOffset dx="-10" dy="10" />
80 </filter>
81
82 <filter id="innerShadow" filterRes="500" x="-.2" y="0">
83 <feGaussianBlur stdDeviation="3 4" in="SourceAlpha"/>
84 <feOffset dx="-10" dy="15" result="offsetShadow"/>
85 <feComposite in2="SourceGraphic" in="offsetShadow" operator="out" />
86 </filter>
87
88
89 <path id="Outer_Ellipse" style="stroke:none;" d="M453.747,104.22C333.581-15.897,157.944-35.015,61.45,61.516c-96.493,96.533-77.301,272.161,42.866,392.278C224.48,573.911,400.117,593.031,496.61,496.498c96.493-96.533,77.302-272.161-42.863-392.278z
90 M461.486,454.618c-74.193,74.224-222.251,46.516-330.696-61.886C22.343,284.329-5.426,136.283,68.766,62.059c74.193-74.222,222.251-46.516,330.698,61.887c108.445,108.402,136.214,256.449,62.021,330.672z"/>
91 <path id="Inner_Ellipse" style="stroke:none;" d="M399.464,123.946C291.018,15.543,142.959-12.163,68.766,62.059c-74.192,74.224-46.423,222.27,62.023,330.672c108.445,108.402,256.503,136.11,330.696,61.886c74.192-74.223,46.424-222.27-62.021-330.672z
92 M410.417,397.331c-58.115,58.14-179.371,31.157-270.832-60.267C48.124,245.64,21.092,124.396,79.207,66.256c58.116-58.139,179.372-31.157,270.833,60.267c91.46,91.424,118.493,212.668,60.377,270.808z"/>
93
94 </defs>
95
96 <rect x="0" y="0" width="100%" height="100%" fill="rgb(13, 97, 160)" />
97 <g fill="rgb(255, 255, 20)">
98 <circle cx="50" cy="150" r="120" />
99 <circle cx="100" cy="300" r="60" />
100 <circle cx="350" cy="200" r="90" />
101 <circle cx="380" cy="400" r="70" />
102 <circle cx="225" cy="275" r="40" />
103 <circle cx="100" cy="450" r="35" />
104 <circle cx="-20" cy="500" r="120" />
105 </g>
106 <rect x="0" y="0" width="100%" height="100%" style="overflow:hidden; fill:url(#backgroundPattern)" />
107
108 <g filter="url(#innerShadow)" opacity=".5">
109 <use xlink:href="#Outer_Ellipse" fill-opacity="1"/>
110 <use xlink:href="#Inner_Ellipse" fill-opacity="1"/>
111 </g>
112
113 <use xlink:href="#Outer_Ellipse" fill="rgb(13, 97, 160)" fill-opacity=".75"/>
114 <use xlink:href="#Inner_Ellipse" fill="rgb(255, 255, 20)" fill-opacity=".75" />
115
116 <g transform="translate(50, 154) scale(1.5, 1.5)">
117 <use x="0" y="0" xlink:href="#batik"
118 fill="black" fill-opacity=".5" filter="url(#shadow)"/>
119
120 <use x="0" y="0" xlink:href="#batik"
121 fill="none" stroke-width="8" stroke="rgb(13, 97, 160)"/>
122
123 <use x="0" y="0" xlink:href="#batik"
124 fill="rgb(255, 255, 20)" stroke="rgb(204, 102, 53)" stroke-width="1"/>
125 </g>
126
127 </g>
128
129 </svg>