mapnik/tests/data/svg/radial_combo.svg

32 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
width="500"
height="500"
id="svg2"
version="1.1" >
<radialGradient id="rad1" cx="0%" cy="0%" r="100%">
<stop style="stop-color:#888888;stop-opacity:1;" offset="0" />
<stop style="stop-color:#000000;stop-opacity:0;" offset="1" />
</radialGradient>
<radialGradient id="rad2" gradientUnits="userSpaceOnUse" cx="0" cy="0" r="100">
<stop style="stop-color:#FF0000;stop-opacity:1;" offset="0" />
<stop style="stop-color:#000000;stop-opacity:0;" offset="1" />
</radialGradient>
<radialGradient id="rad3" cx="0" cy="1" r="1">
<stop style="stop-color:#00FF00;stop-opacity:1;" offset="0" />
<stop style="stop-color:#000000;stop-opacity:0;" offset="1" />
</radialGradient>
<radialGradient id="rad4" gradientUnits="userSpaceOnUse" cx="50%" cy="50%" r="50%">
<stop style="stop-color:#0000FF;stop-opacity:1;" offset="0" />
<stop style="stop-color:#000000;stop-opacity:0;" offset="1" />
</radialGradient>
<circle fill="url(#rad1)" cx="50" cy="50" r="50"/>
<circle fill="url(#rad2)" cx="-50" cy="50" r="50"/>
<circle fill="url(#rad3)" cx="50" cy="-50" r="50"/>
<circle fill="url(#rad4)" cx="-50" cy="-50" r="50"/>
</svg>