summaryrefslogtreecommitdiffstats
path: root/ksvg/test/ecma/bbox/bbox-line.svg
blob: b9caf551a5a4c8951cc91f92f12e7efdb5e498f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">  
<svg id="svg-root" width="450" height="450" onload="gen_buttons(evt, 4)">
    <script xlink:href="bbox.js"/>
	<g>
		<g id="test-0" transform="translate(0,20)">
			<line x1="37.5" y1="137" x2="112.5" y2="50" fill="none" stroke="black" stroke-width="1" />
			<line x1="112.5" y1="137" x2="187.5" y2="50" fill="none" stroke="red" stroke-width="5" />
			<line x1="187.5" y1="137" x2="262.5" y2="50" fill="none" stroke="green" stroke-width="7.5" />
			<line x1="262.5" y1="137" x2="337.5" y2="50" fill="none" stroke="blue" stroke-width="10" />
			<line x1="337.5" y1="137" x2="412.5" y2="50" fill="none" stroke="fuchsia" stroke-width="12.5" />
		</g>
		<g id="test-1" stroke="black" stroke-width="1" transform="translate(0,20)">
			<line x1="125" y1="200" x2="175" y2="200"/>
			<line x1="175" y1="200" x2="175" y2="250"/>
			<line x1="175" y1="250" x2="225" y2="250"/>
			<line x1="225" y1="250" x2="225" y2="200"/>
			<line x1="225" y1="200" x2="275" y2="200"/>
		</g>
		<g id="test-2" stroke="blue" stroke-width="10" transform="translate(0,20)">
			<line x1="25" y1="300" x2="75" y2="300"/>
			<line x1="75" y1="300" x2="75" y2="350"/>
			<line x1="75" y1="350" x2="125" y2="350"/>
			<line x1="125" y1="350" x2="125" y2="300"/>
			<line x1="125" y1="300" x2="175" y2="300"/>
		</g>
		<g id="test-3" stroke-width="10" transform="translate(0,20)">
			<line x1="275" y1="350" x2="325" y2="350" stroke="black" />
			<line x1="325" y1="300" x2="375" y2="300" stroke="fuchsia" />
			<line x1="225" y1="300" x2="275" y2="300" stroke="blue" />
			<line x1="275" y1="300" x2="275" y2="350" stroke="green" />
			<line x1="325" y1="350" x2="325" y2="300" stroke="red" />
		</g>
	</g>
</svg>