38be0d1383
This is the beginning of revision history for this module. If you want to look at revision history older than this, please refer to the Qt Git wiki for how to use Git history grafting. At the time of writing, this wiki is located here: http://qt.gitorious.org/qt/pages/GitIntroductionWithQt If you have already performed the grafting and you don't see any history beyond this commit, try running "git log" with the "--follow" argument. Branched from the monolithic repo, Qt master branch, at commit 896db169ea224deb96c59ce8af800d019de63f12
31 lines
1021 B
XML
31 lines
1021 B
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
<svg width="12cm" height="3.6cm" viewBox="0 0 1000 300" version="1.2"
|
|
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<defs>
|
|
<path xml:id="MyPath"
|
|
d="M 100 200
|
|
C 200 100 300 0 400 100
|
|
C 500 200 600 300 700 200
|
|
C 800 100 900 100 900 100" />
|
|
</defs>
|
|
<desc>Example toap02 - tspan within textPath</desc>
|
|
<use xlink:href="#MyPath" fill="none" stroke="red" />
|
|
<text font-family="Verdana" font-size="42.5" fill="blue" >
|
|
<textPath xlink:href="#MyPath">
|
|
We go
|
|
<tspan dy="-30" fill="red" >
|
|
up
|
|
</tspan>
|
|
<tspan dy="30">
|
|
,
|
|
</tspan>
|
|
then we go down, then up again
|
|
</textPath>
|
|
</text>
|
|
<!-- Show outline of canvas using 'rect' element -->
|
|
<rect x="1" y="1" width="998" height="298"
|
|
fill="none" stroke="blue" stroke-width="2" />
|
|
</svg>
|