Debian Codegraph @

test_non_regression/svg/linejoin.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="3.5cm" viewBox="0 0 1200 350" version="1.1"
5 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
6 <desc>Example linecap - demonstrates three stroke-linecap values</desc>
7 <rect x="1" y="1" width="1198" height="348" fill="none" stroke="blue" />
8
9 <defs>
10 <path id="path1" d="M -125,150 L 0,0 L 125,150" fill="none" />
11 <circle id="circle1" cx="0" cy="0" r="8" fill="#ffcccc" stroke="none"/>
12 </defs>
13 <g transform="translate(200,75)">
14 <use stroke="black" stroke-width="70" xlink:href="#path1"
15 stroke-linejoin="miter"/>
16 <use stroke="#ffcccc" stroke-width="5" xlink:href="#path1"/>
17 <use xlink:href="#circle1"/>
18 <text text-anchor="middle" font-size="50" font-family="Liberation Sans"
19 y="230">'miter' join</text>
20 </g>
21 <g transform="translate(600,75)">
22 <use stroke="black" stroke-width="70" xlink:href="#path1"
23 stroke-linejoin="round"/>
24 <use stroke="#ffcccc" stroke-width="5" xlink:href="#path1"/>
25 <use xlink:href="#circle1"/>
26 <text text-anchor="middle" font-size="50" font-family="Liberation Sans"
27 y="230">'round' join</text>
28 </g>
29 <g transform="translate(1000,75)">
30 <use stroke="black" stroke-width="70" xlink:href="#path1"
31 stroke-linejoin="bevel"/>
32 <use stroke="#ffcccc" stroke-width="5" xlink:href="#path1"/>
33 <use xlink:href="#circle1"/>
34 <text text-anchor="middle" font-size="50" font-family="Liberation Sans"
35 y="230">'bevel' join</text>
36 </g>
37 </svg>