Add solidColor SVG example.
authortbah <tavmjong@free.fr>
Mon, 21 Nov 2011 14:36:17 +0100
changeset 14 b4ffe2c13067
parent 13 cc38ad6ae31f
child 15 9f951f096f80
Add solidColor SVG example.
master/images/pservers/solidcolor.png
master/images/pservers/solidcolor.svg
Binary file master/images/pservers/solidcolor.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/master/images/pservers/solidcolor.svg	Mon Nov 21 14:36:17 2011 +0100
@@ -0,0 +1,18 @@
+<?xml version="1.0" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg"
+     version="2.0"
+     viewBox="0 0 300 100" >
+
+  <title>Example solidColor</title>
+  <desc>Fill objects using a solidColor paint server.</desc>
+
+  <defs>
+    <solidColor id="MyLightPurple" solid-color="#a080ff" solid-opacity="0.5"/>
+  </defs>
+
+  <!-- The shapes are filled using a solidColor paint server -->
+  <circle fill="url(#MyLightPurple)" cx="50" cy="50" r="40"/>
+  <rect   fill="url(#MyLightPurple)" x="110" y="10" width="80" height="80"/>
+  <path   fill="url(#MyLightPurple)" d="m 250 10 l 40 80 -80 0 z"/>
+</svg>
+