| 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="5.25cm" viewBox="0 0 1200 400" |
| 5 |
xmlns="http://www.w3.org/2000/svg" version="1.1"> |
| 6 |
<title>Example arcs01 - arc commands in path data</title> |
| 7 |
<desc>Picture of a pie chart with two pie wedges and |
| 8 |
a picture of a line with arc blips</desc> |
| 9 |
<rect x="1" y="1" width="1198" height="398" |
| 10 |
fill="none" stroke="blue" stroke-width="1" /> |
| 11 |
|
| 12 |
<path d="M300,200 h-150 a150,150 0 1,0 150,-150 z" |
| 13 |
fill="red" stroke="blue" stroke-width="5" /> |
| 14 |
<path d="M275,175 v-150 a150,150 0 0,0 -150,150 z" |
| 15 |
fill="yellow" stroke="blue" stroke-width="5" /> |
| 16 |
|
| 17 |
<path d="M600,350 l 50,-25 |
| 18 |
a25,25 -30 0,1 50,-25 l 50,-25 |
| 19 |
a25,50 -30 0,1 50,-25 l 50,-25 |
| 20 |
a25,75 -30 0,1 50,-25 l 50,-25 |
| 21 |
a25,100 -30 0,1 50,-25 l 50,-25" |
| 22 |
fill="none" stroke="red" stroke-width="5" /> |
| 23 |
</svg> |
| 24 |
|