665bfac0b339
paths-gradients.svg
<?xml version="1.0" encoding="UTF-8"?>
<!-- EffectCraft test fixture (original work, MIT OR Apache-2.0): path data, gradients, CSS, use. -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="160" height="120">
<defs>
<style>
.warm { fill: url(#sunset); }
#wave { stroke: #3366ff; stroke-width: 5; fill: none; }
path.hole { fill-rule: evenodd; }
</style>
<linearGradient id="sunset" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#ffcc00"/>
<stop offset="100%" stop-color="#ff3300"/>
</linearGradient>
<radialGradient id="glow" cx="40" cy="90" r="25" gradientUnits="userSpaceOnUse">
<stop offset="0%" style="stop-color: white; stop-opacity: 1"/>
<stop offset="100%" stop-color="#00aaff" stop-opacity="0.2"/>
</radialGradient>
<path id="tri" d="M0 0 L20 0 L10 -16 Z"/>
</defs>
<path class="warm" d="M10 10 h60 v40 h-60 z"/>
<path class="hole" fill="#44aa66" d="M90,10 L150,10 L150,60 L90,60 Z M105,25 L135,25 L135,45 L105,45 Z"/>
<path id="wave" d="M10 75 C 30 55, 50 95, 70 75 S 110 55, 130 75 Q 140 85 150 75"/>
<circle cx="40" cy="90" r="25" fill="url(#glow)"/>
<use xlink:href="#tri" x="100" y="110" fill="purple"/>
<path d="M120 100 a 15 10 0 1 0 30 0 a15 10 0 1 0 -30 0" fill="none" stroke="black" stroke-width="2" stroke-dasharray="4 2"/>
</svg>
No file is open. Choose one in the tree, or press Ctrl+O (⌘O on a Mac) to find one by name.
Syntax highlighting could not load. The unmodified read-only text remains available above.