Debian Codegraph @

test_non_regression/svg/line01.svg

raw
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4 <svg width="12cm" height="4cm" viewBox="0 0 1200 400"
5 xmlns="http://www.w3.org/2000/svg" version="1.1">
6 <desc>Example line01 - lines expressed in user coordinates</desc>
7
8 <!-- Show outline of canvas using 'rect' element -->
9 <rect x="1" y="1" width="1198" height="398"
10 fill="none" stroke="blue" stroke-width="2" />
11
12 <g stroke="green" >
13 <line x1="100" y1="300" x2="300" y2="100"
14 stroke-width="5" />
15 <line x1="300" y1="300" x2="500" y2="100"
16 stroke-width="10" />
17 <line x1="500" y1="300" x2="700" y2="100"
18 stroke-width="15" />
19 <line x1="700" y1="300" x2="900" y2="100"
20 stroke-width="20" />
21 <line x1="900" y1="300" x2="1100" y2="100"
22 stroke-width="25" />
23 </g>
24 </svg>
25