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
27 lines
1.7 KiB
XML
27 lines
1.7 KiB
XML
<?xml version="1.0"?>
|
|
<svg width="5cm" height="4cm" viewBox="0 0 500 400"
|
|
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
|
|
<title>Example cubic01- cubic Bézier commands in path data</title>
|
|
<desc>Picture showing a simple example of path data
|
|
using both a "C" and an "S" command,
|
|
along with annotations showing the control points
|
|
and end points</desc>
|
|
<rect fill="none" stroke="blue" stroke-width="1" x="1" y="1" width="498" height="398" />
|
|
<polyline fill="none" stroke="#888888" stroke-width="1" points="100,200 100,100" />
|
|
<polyline fill="none" stroke="#888888" stroke-width="1" points="250,100 250,200" />
|
|
<polyline fill="none" stroke="#888888" stroke-width="1" points="250,200 250,300" />
|
|
<polyline fill="none" stroke="#888888" stroke-width="1" points="400,300 400,200" />
|
|
<path fill="none" stroke="red" stroke-width="5" d="M100,200 C100,100 250,100 250,200
|
|
S400,300 400,200" />
|
|
<circle fill="#888888" stroke="none" stroke-width="2" cx="100" cy="200" r="10" />
|
|
<circle fill="#888888" stroke="none" stroke-width="2" cx="250" cy="200" r="10" />
|
|
<circle fill="#888888" stroke="none" stroke-width="2" cx="400" cy="200" r="10" />
|
|
<circle fill="#888888" stroke="none" cx="100" cy="100" r="10" />
|
|
<circle fill="#888888" stroke="none" cx="250" cy="100" r="10" />
|
|
<circle fill="#888888" stroke="none" cx="400" cy="300" r="10" />
|
|
<circle fill="none" stroke="blue" stroke-width="4" cx="250" cy="300" r="9" />
|
|
<text font-size="22" font-family="Verdana" x="25" y="70">M100,200 C100,100 250,100 250,200</text>
|
|
<text font-size="22" font-family="Verdana" x="325" y="350"
|
|
text-anchor="middle">S400,300 400,200</text>
|
|
</svg>
|