11/10. feladat megoldása
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns= "http://www.w3.org/2000/svg"
xmlns:xlink= "http://www.w3.org/1999/xlink"
version="1.1" width="400" height="200">
<defs>
<linearGradient id="atmenet">
<stop offset="0%" style="stop-color: red;"/>
<stop offset="70%" style="stop-color: yellow;"/>
</linearGradient>
<pattern id="minta" x="0" y="0" width="20%"
height="20%" patternUnits="objectBoundingBox">
<circle cx="10" cy="10" r="10" style="fill: url(#atmenet); stroke: red;"/>
</pattern>
</defs>
<rect x="10" y="10" width="100" height="100"
style="fill: url(#minta); stroke: black;"/>
<rect x="120" y="10" width="50" height="100"
style="fill: url(#minta); stroke: black;"/>
<rect x="180" y="10" width="150" height="150"
style="fill: url(#minta); stroke: black;"/>
</svg>