OLD | NEW |
1 <?xml version="1.0" standalone="no"?> | 1 <?xml version="1.0" standalone="no"?> |
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" | 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" |
3 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | 3 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> |
4 <svg version="1.0" | 4 <svg version="1.0" |
5 viewBox="0 0 1000 250" preserveAspectRatio="xMinYMin meet" | 5 viewBox="0 0 1000 250" preserveAspectRatio="xMinYMin meet" |
6 xmlns="http://www.w3.org/2000/svg"> | 6 xmlns="http://www.w3.org/2000/svg"> |
7 <!-- This rectangle goes from (0,0) to (1500,1000) in user space. | 7 <!-- This rectangle goes from (0,0) to (1500,1000) in user space. |
8 Because of the viewBox attribute above, | 8 Because of the viewBox attribute above, |
9 the rectangle will end up filling the entire area | 9 the rectangle will end up filling the entire area |
10 reserved for the SVG content. --> | 10 reserved for the SVG content. --> |
11 <rect x="0" y="0" width="1000" height="250" | 11 <rect x="0" y="0" width="1000" height="250" |
12 fill="lime" stroke="green" stroke-width="12" /> | 12 fill="lime" stroke="green" stroke-width="12" /> |
13 <!-- A large, red triangle --> | 13 <!-- A large, red triangle --> |
14 <path fill="green" d="M 500,50 L 150,200 L 850,200 z"/> | 14 <path fill="green" d="M 500,50 L 150,200 L 850,200 z"/> |
15 </svg> | 15 </svg> |
OLD | NEW |