qt5base-lts/tests/arthur/data/1.2/linecap.svg
Qt by Nokia 38be0d1383 Initial import from the monolithic Qt.
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
2011-04-27 12:05:43 +02:00

33 lines
1.6 KiB
XML

<?xml version="1.0" standalone="no"?>
<svg width="12cm" height="2cm" viewBox="0 0 1200 200" version="1.2" baseProfile="tiny"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<desc>Example linecap - demonstrates three stroke-linecap values</desc>
<rect x="1" y="1" width="1198" height="198" fill="none" stroke="blue" />
<defs>
<line id="line1" x1="-125" x2="125" y1="0" y2="0" fill="none" />
<g id="circles">
<circle fill="#ffcccc" stroke="none" id="circle1" cx="-125" cy="0" r="8"/>
<circle fill="#ffcccc" stroke="none" id="circle2" cx="125" cy="0" r="8"/>
</g>
</defs>
<g transform="translate(200,75)">
<use stroke="black" stroke-width="70" xlink:href="#line1" stroke-linecap="butt"/>
<use stroke="#ffcccc" stroke-width="5" xlink:href="#line1"/>
<use xlink:href="#circles"/>
<text text-anchor="middle" font-size="50" font-family="Verdana" y="90">'butt' cap</text>
</g>
<g transform="translate(600,75)">
<use stroke="black" stroke-width="70" xlink:href="#line1" stroke-linecap="round"/>
<use stroke="#ffcccc" stroke-width="5" xlink:href="#line1"/>
<use xlink:href="#circles"/>
<text text-anchor="middle" font-size="50" font-family="Verdana" y="90">'round' cap</text>
</g>
<g transform="translate(1000,75)">
<use stroke="black" stroke-width="70" xlink:href="#line1" stroke-linecap="square"/>
<use stroke="#ffcccc" stroke-width="5" xlink:href="#line1"/>
<use xlink:href="#circles"/>
<text text-anchor="middle" font-size="50" font-family="Verdana" y="90">'square' cap</text>
</g>
</svg>