5/3. 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="200" height="200">

<!--Hatteret ado teglalapok-->
<rect x="0" y="170" width="200" height="30" style="fill: tan;"/>
<rect x="0" y="0" width="200" height="170"
	style="fill: lightblue; fill-opacity: 0.3"/>

<!--Lombos fa-->
<rect x="40" y="110" width="30" height="70" style="fill: sienna;"/>
<ellipse rx="40" ry="50" cx="55" cy="70" style="fill: darkgreen;"/>

<!--Fenyofa-->
<rect x="130" y="160" width="30" height="20" style="fill: maroon;"/>
<polygon points="105,160 130,90 120,90 145,20 170,90 160,90 185,160"
	style="fill: forestgreen;"/>

</svg>