You've already forked lazarus-ccr
fpvviewer: One more svg arc example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2744 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -10,5 +10,9 @@
|
||||
style="fill:none; stroke:green; stroke-width:6"/>
|
||||
<path d="M 125,75 a100,50 0 1,1 100,50"
|
||||
style="fill:none; stroke:black; stroke-width:6"/>
|
||||
<path d="M 125,70 L 125,80 M 120,75 L 130,75"
|
||||
style="fill:none; stroke:grey; stroke-width:1"/>
|
||||
<path d="M 225,120 L 225,130 M 220,125 L 230,125"
|
||||
style="fill:none; stroke:grey; stroke-width:1"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 622 B After Width: | Height: | Size: 844 B |
23
applications/fpvviewer/examples_files/svg/arcs_3.svg
Normal file
23
applications/fpvviewer/examples_files/svg/arcs_3.svg
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="12cm" height="5.25cm" viewBox="0 0 1200 400"
|
||||
xmlns="http://www.w3.org/2000/svg" version="1.1">
|
||||
<title>Example arcs01 - arc commands in path data</title>
|
||||
<desc>Picture of a pie chart with two pie wedges and
|
||||
a picture of a line with arc blips</desc>
|
||||
<rect x="1" y="1" width="1198" height="398"
|
||||
fill="none" stroke="blue" stroke-width="1" />
|
||||
|
||||
<path d="M300,200 h-150 a150,150 0 1,0 150,-150 z"
|
||||
fill="red" stroke="blue" stroke-width="5" />
|
||||
<path d="M275,175 v-150 a150,150 0 0,0 -150,150 z"
|
||||
fill="yellow" stroke="blue" stroke-width="5" />
|
||||
|
||||
<path d="M600,350 l 50,-25
|
||||
a25,25 -30 0,1 50,-25 l 50,-25
|
||||
a25,50 -30 0,1 50,-25 l 50,-25
|
||||
a25,75 -30 0,1 50,-25 l 50,-25
|
||||
a25,100 -30 0,1 50,-25 l 50,-25"
|
||||
fill="none" stroke="red" stroke-width="5" />
|
||||
</svg>
|
After Width: | Height: | Size: 997 B |
Reference in New Issue
Block a user