fpvviewer: More svg examples

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2742 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
sekelsenmat
2013-06-05 15:18:26 +00:00
parent 07d8c3bf79
commit 61a1b00db4
3 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,26 @@
<?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 viewBox = "0 0 1100 400" version = "1.1">
<g stroke = "navy" stroke-width = "3" fill = "none">
<path d = "M 300 50 a 150 50 0 0 0 250 50"/>
<path d = "M 300 200 a 150 50 0 0 1 250 50"/>
<path d = "M 700 50 a 150 50 0 1 0 250 50"/>
<path d = "M 700 200 a 150 50 0 1 1 250 50"/>
</g>
<g text-anchor = "middle" font-size = "25" font = "sans-serif">
<text x = "400" y = "20">
large-arc-flag=0
</text>
<text x = "825" y = "20">
large-arc-flag=1
</text>
</g>
<g text-anchor = "end" font-size = "25" font = "sans-serif" rotate = "0">
<text x = "230" y = "70">
sweep-flag=0
</text>
<text x = "230" y = "220">
sweep-flag=1
</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 945 B

View File

@ -0,0 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<defs>
<radialGradient id="grad1" cx="50%" cy="50%" r="50%" fx="50%" fy="50%">
<stop offset="0%" style="stop-color:rgb(255,255,255);
stop-opacity:0" />
<stop offset="100%" style="stop-color:rgb(0,0,255);stop-opacity:1" />
</radialGradient>
</defs>
<ellipse cx="200" cy="70" rx="85" ry="55" fill="url(#grad1)" />
</svg>

After

Width:  |  Height:  |  Size: 406 B

View File

@ -0,0 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<defs>
<radialGradient id="grad1" cx="20%" cy="30%" r="30%" fx="50%" fy="50%">
<stop offset="0%" style="stop-color:rgb(255,255,255);
stop-opacity:0" />
<stop offset="100%" style="stop-color:rgb(0,0,255);stop-opacity:1" />
</radialGradient>
</defs>
<ellipse cx="200" cy="70" rx="85" ry="55" fill="url(#grad1)" />
</svg>

After

Width:  |  Height:  |  Size: 406 B