batik/samples/batikFX.svg

152 lines
17 KiB
XML

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- ========================================================================= -->
<!-- Test description here -->
<!-- -->
<!-- @author vincent.hardy@eng.sun.com -->
<!-- @version $Id: batikFX.svg 1733420 2016-03-03 07:41:59Z gadams $ -->
<!-- ========================================================================= -->
<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">
<title>Batik, Futuristic Mood</title>
<!-- ============================================================= -->
<!-- Test content -->
<!-- ============================================================= -->
<g id="testContent" style="overflow:hidden">
<defs>
<pattern id="stripes" patternUnits="userSpaceOnUse" x="0" y="0" width="50" height="4">
<rect width="50" height="2" fill="black" fill-opacity=".2" />
</pattern>
<radialGradient id="backgroundGradientOld" cx="0" cy="0" r="1.3" gradientTransform="translate(.5, .5) scale(1, .5)" >
<stop offset="0" stop-color="rgb(125, 72, 255)" />
<stop offset=".25" stop-color="rgb(124, 65, 239)" />
<stop offset="1" stop-color="black" />
</radialGradient>
<radialGradient id="backgroundGradient" cx="0" cy="0" r="1.2" >
<stop offset="0" stop-color="white" />
<stop offset=".25" stop-color="rgb(125, 72, 255)" />
<stop offset=".5" stop-color="rgb(124, 65, 239)" />
<stop offset="1" stop-color="black" />
</radialGradient>
<g id="batik">
<path d="M0,83.61V6.721h36.79c7.876,0,14.018,1.846,18.429,5.539c4.41,3.692,6.615,8.83,6.615,15.411c0,4.201-1.044,7.693-3.129,10.474c-2.085,2.783-5.039,4.594-8.859,5.433c5.213,1.086,9.097,3.136,11.651,6.148c2.554,3.013,3.833,7.058,3.833,12.136
c0,7.179-2.421,12.6-7.265,16.259c-4.843,3.661-11.97,5.49-21.377,5.49H0z M25.944,25.002v10.754h3.617c2.237,0,3.94-0.462,5.112-1.391c1.17-0.926,1.756-2.264,1.756-4.011c0-1.748-0.586-3.077-1.756-3.987c-1.172-0.909-2.875-1.365-5.112-1.365h-3.617z
M25.944,52.29v12.367h4.612c2.747,0,4.863-0.536,6.341-1.611c1.479-1.075,2.22-2.598,2.22-4.572c0-2.008-0.742-3.539-2.22-4.598c-1.479-1.056-3.594-1.586-6.341-1.586h-4.612z"/>
<path d="M111.327,83.61v-8.208c-2.627,3.495-5.377,6.074-8.248,7.734c-2.871,1.659-6.041,2.491-9.506,2.491c-6.305,0-11.53-2.676-15.681-8.031c-4.15-5.356-6.224-12.252-6.224-20.689c0-8.821,2.021-15.918,6.066-21.291c4.045-5.374,9.324-8.06,15.838-8.06
c3.36,0,6.417,0.727,9.167,2.18c2.747,1.453,5.294,3.705,7.643,6.75v-7.183h25.272V83.61h-24.327z M96.939,56.266c0,2.31,0.619,4.176,1.863,5.594c1.243,1.417,2.879,2.125,4.91,2.125c2.065,0,3.709-0.7,4.936-2.101c1.225-1.398,1.838-3.272,1.838-5.619
c0-2.377-0.622-4.284-1.866-5.721c-1.243-1.435-2.879-2.153-4.908-2.153c-2.031,0-3.667,0.727-4.91,2.18c-1.244,1.453-1.863,3.35-1.863,5.694z"/>
<path d="M150.249,83.61V49.333h-7.528V29.304h7.528V11.292h26.346v18.013h7.528v20.029h-7.528V83.61h-26.346z"/>
<path d="M219.526,12.438c0,3.883-1.277,6.971-3.831,9.263c-2.554,2.291-6,3.436-10.34,3.436c-4.373,0-7.855-1.153-10.442-3.463c-2.59-2.308-3.884-5.388-3.884-9.235c0-3.848,1.277-6.883,3.832-9.105C197.414,1.111,200.911,0,205.355,0
c4.409,0,7.872,1.111,10.393,3.333c2.519,2.222,3.778,5.257,3.778,9.105z M192.104,83.61V29.304h26.347V83.61h-26.347z"/>
<path d="M230.504,83.61V2.285h26.078v47.765l11.075-20.745h30.864l-19.264,26.103l20.34,28.203h-31.199l-11.816-20.325V83.61h-26.078z"/>
</g>
<g id="batikUrl">
<path d="M0,14.031V0.406h4.336v3.766c0,0.515-0.006,0.916-0.018,1.202S4.29,5.936,4.266,6.199c0.381-0.52,0.803-0.907,1.267-1.161C5.997,4.784,6.519,4.656,7.1,4.656c0.968,0,1.735,0.292,2.301,0.876c0.566,0.584,0.849,1.382,0.849,2.393v6.105H5.813V9.438
c0-0.458-0.045-0.77-0.136-0.937S5.426,8.25,5.197,8.25c-0.258,0-0.454,0.1-0.589,0.299c-0.135,0.2-0.202,0.496-0.202,0.889v4.593H0z"/>
<path d="M12.688,14.031v-5.75h-1.25V4.938h1.25v-3h4.406v3h1.25v3.344h-1.25v5.75h-4.406z"/>
<path d="M20.211,14.031v-5.75h-1.25V4.938h1.25v-3h4.406v3h1.25v3.344h-1.25v5.75h-4.406z"/>
<path d="M27.141,17.938v-13h4.22v1.205c0.386-0.501,0.812-0.874,1.277-1.119c0.465-0.245,0.979-0.367,1.54-0.367c1.094,0,1.976,0.446,2.646,1.338s1.005,2.081,1.005,3.567c0,1.41-0.344,2.56-1.031,3.449s-1.561,1.333-2.619,1.333c-0.573,0-1.094-0.13-1.562-0.391
c-0.468-0.261-0.881-0.651-1.237-1.173c0.035,0.217,0.062,0.456,0.08,0.716s0.026,0.548,0.026,0.865v3.576h-4.344z M32.485,10.813c0.331,0,0.601-0.121,0.81-0.364c0.209-0.242,0.314-0.563,0.314-0.96s-0.105-0.719-0.314-0.964
c-0.209-0.245-0.479-0.368-0.81-0.368c-0.337,0-0.609,0.123-0.815,0.368c-0.206,0.246-0.309,0.567-0.309,0.964s0.103,0.718,0.309,0.96c0.206,0.243,0.478,0.364,0.815,0.364z"/>
<path d="M39.255,7.049c0-0.573,0.24-1.063,0.722-1.47s1.071-0.61,1.77-0.61s1.291,0.204,1.778,0.61s0.731,0.897,0.731,1.47c0,0.585-0.242,1.083-0.727,1.493s-1.078,0.614-1.782,0.614c-0.698,0-1.288-0.205-1.77-0.614s-0.722-0.907-0.722-1.493z M39.255,12.203
c0-0.58,0.242-1.077,0.726-1.49s1.073-0.62,1.765-0.62c0.698,0,1.291,0.207,1.778,0.62s0.731,0.91,0.731,1.49s-0.242,1.077-0.727,1.49s-1.078,0.62-1.782,0.62c-0.698,0-1.288-0.205-1.77-0.615s-0.722-0.908-0.722-1.494z"/>
<path d="M45.13,15.688l6.292-14.813h2.115l-6.283,14.813H45.13z"/>
<path d="M53.55,15.688l6.292-14.813h2.115l-6.283,14.813H53.55z"/>
<path d="M61.376,14.031l3.666-4.705l-3.385-4.389h4.947l0.597,1.328c0.076,0.164,0.139,0.317,0.188,0.458s0.089,0.275,0.119,0.404c0.035-0.182,0.117-0.41,0.246-0.686c0.035-0.076,0.062-0.135,0.079-0.176l0.588-1.328h4.986l-3.239,4.389l3.708,4.705h-5.235
l-0.72-1.337c-0.07-0.135-0.132-0.277-0.185-0.426s-0.099-0.301-0.14-0.453c-0.041,0.193-0.085,0.359-0.132,0.497s-0.105,0.268-0.175,0.391l-0.755,1.328h-5.158z"/>
<path d="M74.224,14.031V4.938h4.224v1.279c0.343-0.538,0.722-0.932,1.135-1.184c0.413-0.251,0.887-0.377,1.422-0.377c0.634,0,1.162,0.155,1.584,0.465c0.422,0.311,0.764,0.796,1.025,1.457c0.346-0.632,0.771-1.11,1.272-1.435s1.064-0.487,1.686-0.487
c0.892,0,1.604,0.295,2.135,0.884s0.797,1.382,0.797,2.379v6.112h-4.25V9.466c0-0.462-0.043-0.775-0.13-0.939c-0.087-0.164-0.234-0.246-0.443-0.246c-0.239,0-0.417,0.097-0.533,0.29c-0.117,0.193-0.175,0.492-0.175,0.895v4.565h-4.188V9.466
c0-0.45-0.042-0.76-0.125-0.93c-0.083-0.17-0.229-0.255-0.436-0.255c-0.235,0-0.409,0.097-0.521,0.29s-0.168,0.492-0.168,0.895v4.565h-4.313z"/>
<path d="M91.442,14.031V0.406h4.406v13.625h-4.406z"/>
<path d="M97.5,12.203c0-0.58,0.241-1.077,0.725-1.49s1.074-0.62,1.771-0.62s1.289,0.207,1.775,0.62s0.729,0.91,0.729,1.49s-0.242,1.077-0.725,1.49s-1.076,0.62-1.779,0.62s-1.295-0.207-1.775-0.62s-0.72-0.91-0.72-1.49z"/>
<path d="M110.328,14.031v-1.373c-0.441,0.587-0.902,1.02-1.384,1.298c-0.482,0.278-1.014,0.418-1.596,0.418c-1.059,0-1.936-0.448-2.632-1.344c-0.697-0.896-1.045-2.05-1.045-3.462c0-1.476,0.339-2.664,1.019-3.563c0.679-0.899,1.565-1.349,2.659-1.349
c0.564,0,1.077,0.122,1.539,0.365c0.461,0.243,0.889,0.619,1.283,1.128V4.938h4.219v9.094h-4.061z M107.889,9.466c0,0.384,0.105,0.694,0.316,0.93s0.488,0.354,0.833,0.354c0.351,0,0.629-0.116,0.837-0.349s0.312-0.544,0.312-0.935
c0-0.396-0.105-0.713-0.316-0.952s-0.489-0.358-0.833-0.358c-0.345,0-0.622,0.121-0.833,0.362c-0.211,0.242-0.316,0.558-0.316,0.948z"/>
<path d="M116.253,17.938v-13h4.22v1.205c0.386-0.501,0.812-0.874,1.277-1.119c0.465-0.245,0.979-0.367,1.54-0.367c1.094,0,1.976,0.446,2.646,1.338s1.005,2.081,1.005,3.567c0,1.41-0.344,2.56-1.031,3.449s-1.561,1.333-2.619,1.333
c-0.573,0-1.094-0.13-1.562-0.391c-0.468-0.261-0.881-0.651-1.237-1.173c0.035,0.217,0.062,0.456,0.08,0.716s0.026,0.548,0.026,0.865v3.576h-4.344z M121.598,10.813c0.331,0,0.601-0.121,0.81-0.364c0.209-0.242,0.314-0.563,0.314-0.96s-0.105-0.719-0.314-0.964
c-0.209-0.245-0.479-0.368-0.81-0.368c-0.337,0-0.609,0.123-0.815,0.368c-0.206,0.246-0.309,0.567-0.309,0.964s0.103,0.718,0.309,0.96c0.206,0.243,0.478,0.364,0.815,0.364z"/>
<path d="M134.744,14.031v-1.373c-0.441,0.587-0.902,1.02-1.384,1.298c-0.482,0.278-1.014,0.418-1.596,0.418c-1.059,0-1.936-0.448-2.632-1.344c-0.697-0.896-1.045-2.05-1.045-3.462c0-1.476,0.339-2.664,1.019-3.563c0.679-0.899,1.565-1.349,2.659-1.349
c0.564,0,1.077,0.122,1.539,0.365c0.461,0.243,0.889,0.619,1.283,1.128V4.938h4.219v9.094h-4.061z M132.305,9.466c0,0.384,0.105,0.694,0.316,0.93s0.488,0.354,0.833,0.354c0.351,0,0.629-0.116,0.837-0.349s0.312-0.544,0.312-0.935
c0-0.396-0.105-0.713-0.316-0.952s-0.489-0.358-0.833-0.358c-0.345,0-0.622,0.121-0.833,0.362c-0.211,0.242-0.316,0.558-0.316,0.948z"/>
<path d="M147.513,8.844c-0.233-0.208-0.472-0.364-0.717-0.469c-0.245-0.104-0.501-0.156-0.77-0.156c-0.443,0-0.796,0.118-1.058,0.354s-0.393,0.549-0.393,0.94c0,0.373,0.128,0.678,0.385,0.914c0.256,0.236,0.588,0.354,0.997,0.354
c0.256,0,0.514-0.055,0.773-0.166s0.52-0.274,0.783-0.49v3.598c-0.457,0.224-0.897,0.388-1.321,0.494c-0.424,0.105-0.841,0.158-1.25,0.158c-0.673,0-1.296-0.113-1.869-0.338s-1.083-0.558-1.527-0.997c-0.468-0.469-0.825-1-1.07-1.595
c-0.246-0.595-0.369-1.226-0.369-1.894c0-0.463,0.06-0.912,0.18-1.349s0.3-0.851,0.54-1.244c0.456-0.744,1.037-1.313,1.742-1.709s1.496-0.593,2.374-0.593c0.386,0,0.791,0.041,1.215,0.123c0.424,0.082,0.876,0.208,1.356,0.378v3.686z"/>
<path d="M149.019,14.031V0.406h4.336v3.766c0,0.515-0.006,0.916-0.018,1.202s-0.029,0.562-0.052,0.824c0.381-0.52,0.803-0.907,1.267-1.161c0.463-0.254,0.985-0.381,1.566-0.381c0.968,0,1.735,0.292,2.301,0.876c0.566,0.584,0.849,1.382,0.849,2.393v6.105h-4.438
V9.438c0-0.458-0.045-0.77-0.136-0.937s-0.25-0.251-0.479-0.251c-0.258,0-0.454,0.1-0.589,0.299c-0.135,0.2-0.202,0.496-0.202,0.889v4.593h-4.406z"/>
<path d="M171.314,10.188l-6.264,0.009v0.14c0,0.467,0.083,0.814,0.25,1.042s0.421,0.341,0.761,0.341c0.205,0,0.384-0.061,0.536-0.184c0.152-0.123,0.273-0.301,0.361-0.535l4.092,0.278c-0.357,0.991-0.973,1.755-1.846,2.292c-0.874,0.537-1.943,0.805-3.209,0.805
c-0.704,0-1.362-0.107-1.974-0.321s-1.162-0.525-1.648-0.936c-0.545-0.475-0.964-1.022-1.257-1.643s-0.439-1.274-0.439-1.96c0-0.691,0.147-1.349,0.443-1.973s0.713-1.167,1.252-1.63c0.486-0.416,1.034-0.729,1.643-0.94c0.609-0.211,1.268-0.316,1.977-0.316
c0.972,0,1.845,0.194,2.618,0.582c0.773,0.388,1.417,0.953,1.933,1.693c0.263,0.379,0.461,0.798,0.593,1.256s0.198,0.958,0.198,1.501c0,0.141-0.001,0.246-0.004,0.315c-0.003,0.07-0.007,0.131-0.013,0.184z M165.085,8.219l1.996,0.009
c-0.018-0.355-0.107-0.618-0.269-0.787s-0.4-0.253-0.716-0.253c-0.281,0-0.509,0.089-0.682,0.267s-0.283,0.433-0.33,0.765z"/>
<path d="M172.348,12.203c0-0.58,0.241-1.077,0.725-1.49s1.074-0.62,1.771-0.62s1.289,0.207,1.775,0.62s0.729,0.91,0.729,1.49s-0.242,1.077-0.725,1.49s-1.076,0.62-1.779,0.62s-1.295-0.207-1.775-0.62s-0.72-0.91-0.72-1.49z"/>
<path d="M189.08,9.516c0,0.686-0.146,1.339-0.439,1.96s-0.712,1.168-1.257,1.643c-0.475,0.41-1.018,0.722-1.63,0.936s-1.272,0.321-1.981,0.321s-1.368-0.105-1.978-0.316s-1.157-0.524-1.643-0.94c-0.539-0.457-0.957-1-1.252-1.63s-0.444-1.288-0.444-1.973
c0-0.691,0.148-1.349,0.444-1.973s0.713-1.167,1.252-1.63c0.486-0.416,1.034-0.729,1.643-0.94s1.269-0.316,1.978-0.316s1.369,0.107,1.981,0.321s1.162,0.526,1.648,0.936c0.533,0.457,0.946,0.999,1.239,1.626s0.439,1.286,0.439,1.977z M183.772,10.75
c0.312,0,0.566-0.114,0.763-0.341c0.196-0.228,0.295-0.525,0.295-0.893c0-0.373-0.097-0.672-0.291-0.897c-0.194-0.225-0.45-0.337-0.768-0.337c-0.324,0-0.583,0.113-0.776,0.337c-0.194,0.225-0.291,0.524-0.291,0.897c0,0.374,0.097,0.673,0.291,0.897
c0.193,0.225,0.452,0.337,0.776,0.337z"/>
<path d="M190.591,14.031V4.938h4.266v1.276c0.384-0.519,0.812-0.908,1.284-1.168s0.995-0.39,1.568-0.39c0.088,0,0.155,0.001,0.199,0.004c0.044,0.003,0.084,0.007,0.12,0.013v4.41c-0.248-0.135-0.476-0.234-0.683-0.299s-0.396-0.097-0.567-0.097
c-0.567,0-1.006,0.152-1.316,0.457c-0.311,0.305-0.465,0.732-0.465,1.283v3.604h-4.406z"/>
<path d="M205.496,13.214v-0.791c-0.412,0.451-0.847,0.785-1.305,1.001c-0.459,0.217-0.964,0.325-1.517,0.325c-1.064,0-1.943-0.4-2.637-1.2s-1.041-1.828-1.041-3.083c0-1.454,0.336-2.619,1.01-3.496c0.673-0.876,1.563-1.315,2.668-1.315
c0.57,0,1.086,0.119,1.548,0.356c0.461,0.237,0.886,0.605,1.274,1.103V4.938h4.219v7.785c0,0.8-0.036,1.397-0.106,1.792c-0.07,0.394-0.185,0.754-0.343,1.082c-0.382,0.782-1.046,1.373-1.995,1.773c-0.948,0.4-2.159,0.6-3.633,0.6
c-0.822,0-1.587-0.072-2.294-0.215c-0.708-0.144-1.355-0.356-1.942-0.637l0.953-2.93c0.506,0.315,1.002,0.55,1.488,0.706c0.486,0.154,0.967,0.232,1.444,0.232c0.718,0,1.266-0.163,1.643-0.489c0.377-0.326,0.565-0.8,0.565-1.422z M203.371,9.29
c0,0.351,0.1,0.629,0.301,0.836c0.201,0.208,0.469,0.311,0.806,0.311c0.342,0,0.615-0.104,0.818-0.311c0.204-0.207,0.306-0.486,0.306-0.836c0-0.344-0.104-0.625-0.31-0.841c-0.207-0.216-0.478-0.324-0.814-0.324c-0.331,0-0.598,0.107-0.801,0.32
c-0.204,0.213-0.305,0.495-0.305,0.845z"/>
<path d="M210.61,15.688l6.292-14.813h2.115l-6.283,14.813h-2.124z"/>
<path d="M219.937,0.406h4.313v4.215c0,0.37-0.007,0.684-0.022,0.942s-0.037,0.479-0.066,0.66c0.363-0.522,0.777-0.914,1.24-1.175s0.979-0.392,1.548-0.392c1.066,0,1.946,0.446,2.638,1.338c0.691,0.892,1.038,2.045,1.038,3.459c0,1.485-0.337,2.676-1.011,3.574
c-0.674,0.898-1.563,1.347-2.664,1.347c-0.598,0-1.142-0.139-1.631-0.417c-0.49-0.278-0.925-0.698-1.306-1.259v1.333h-4.076V0.406z M226.405,9.514c0-0.4-0.104-0.722-0.313-0.963s-0.484-0.363-0.826-0.363c-0.342,0-0.617,0.121-0.826,0.363
s-0.313,0.563-0.313,0.963c0,0.401,0.104,0.728,0.313,0.981s0.484,0.38,0.826,0.38c0.335,0,0.609-0.126,0.821-0.38s0.318-0.581,0.318-0.981z"/>
<path d="M238.49,14.031v-1.373c-0.441,0.587-0.902,1.02-1.384,1.298c-0.482,0.278-1.014,0.418-1.596,0.418c-1.059,0-1.936-0.448-2.632-1.344c-0.697-0.896-1.045-2.05-1.045-3.462c0-1.476,0.339-2.664,1.019-3.563c0.679-0.899,1.565-1.349,2.659-1.349
c0.564,0,1.077,0.122,1.539,0.365c0.461,0.243,0.889,0.619,1.283,1.128V4.938h4.219v9.094h-4.061z M236.051,9.466c0,0.384,0.105,0.694,0.316,0.93s0.488,0.354,0.833,0.354c0.351,0,0.629-0.116,0.837-0.349s0.312-0.544,0.312-0.935
c0-0.396-0.105-0.713-0.316-0.952s-0.489-0.358-0.833-0.358c-0.345,0-0.622,0.121-0.833,0.362c-0.211,0.242-0.316,0.558-0.316,0.948z"/>
<path d="M245.009,14.031v-5.75h-1.25V4.938h1.25v-3h4.406v3h1.25v3.344h-1.25v5.75h-4.406z"/>
<path d="M256.595,2.087c0,0.652-0.214,1.17-0.643,1.555s-1.007,0.577-1.734,0.577c-0.734,0-1.318-0.193-1.752-0.581s-0.651-0.904-0.651-1.55c0-0.646,0.214-1.155,0.643-1.528S253.472,0,254.217,0c0.739,0,1.32,0.187,1.743,0.56s0.634,0.882,0.634,1.528z
M252.001,14.031V4.938h4.406v9.094h-4.406z"/>
<path d="M258.434,14.031V0.406h4.375v8.005l1.849-3.474h5.151l-3.215,4.371l3.403,4.723h-5.213l-1.975-3.403v3.403h-4.375z"/>
</g>
<filter id="blur" filterRes="200" x="-.2" y="-.2" width="1.4" height="1.4">
<feGaussianBlur stdDeviation="10 10" result="blurred"/>
<feMerge>
<feMergeNode in="blurred" />
<feMergeNode in="blurred" />
<feMergeNode in="blurred" />
</feMerge>
</filter>
</defs>
<rect width="100%" height="100%" fill="url(#backgroundGradient)" />
<rect width="100%" height="100%" fill="url(#stripes)" />
<use xlink:href="#batik" x="80" y="180" stroke="white" stroke-width="3" fill="white" filter="url(#blur)"/>
<use xlink:href="#batik" x="80" y="180" fill="black"/>
<use y="460" x="100" xlink:href="#batikUrl" fill="white" />
</g>
</svg>