SVG – Learning by Coding
1: <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
3: "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
4: <!ATTLIST svg xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
5: ]>
6:
7: <!-- SVG - Learning by Coding - http://www.datenverdrahten.de/svglbc/ -->
8: <!-- Author: Dr. Thomas Meinike 12/02 - thomas@handmadecode.de -->
9:
10: <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
11:
12: <title>SVG - Learning by Coding</title>
13: <desc>SVG-Spezifikation in Beispielen</desc>
14: <text x="20" y="30" style="fill: #000; font-size: 24px">Element path</text>
15:
16: <path d="M 40,130 L 100,160 L 60,120 Z" style="fill: #EEE; stroke: #00F;
17: stroke-width: 2px"/>
18: <path d="M 190,120 c +0,+0,+30,+30,-60,+30 z" style="fill: #FFC; stroke: #00F;
19: stroke-width: 2px"/>
20: <path d="M 230,130 q -0,+30,+30,+0 q +30,-30,+30,0 q -0,+30,+30,+0 q +30,-20,+30,+0"
21: style="fill: none; stroke: #00F; stroke-width: 2px"/>
22:
23: </svg>
[zum Anfang]