Debian Codegraph @

test_non_regression/svg/toap01.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.6cm" viewBox="0 0 1000 300" version="1.1"
5 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
6 <defs>
7 <path id="MyPath"
8 d="M 100 200
9 C 200 100 300 0 400 100
10 C 500 200 600 300 700 200
11 C 800 100 900 100 900 100" />
12 </defs>
13 <desc>Example toap01 - simple text on a path</desc>
14
15 <use xlink:href="#MyPath" fill="none" stroke="red" />
16 <text font-family="Liberation Sans" font-size="42.5" fill="blue" >
17 <textPath xlink:href="#MyPath">
18 We go up, then we go down, then up again
19 </textPath>
20 </text>
21
22 <!-- Show outline of canvas using 'rect' element -->
23 <rect x="1" y="1" width="998" height="298"
24 fill="none" stroke="blue" stroke-width="2" />
25 </svg>