11/9. 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>
<pattern id="belsominta" x="0" y="0" width="50%" height="50%"
patternUnits="objectBoundingBox" viewBox="0 0 20 20">
<line x1="0" y1="0" x2="20" y2="20"/>
<line x1="20" y1="0" x2="0" y2="20"/>
<rect width="20" height="20" style="fill: none; stroke: green;"/>
</pattern>
<pattern id="minta" x="0" y="0" width="20%"
height="20%" patternUnits="objectBoundingBox">
<circle cx="10" cy="10" r="10" style="fill: url(#belsominta); 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>