From ea55869971330306b308c104a7c1780119bb4b0e Mon Sep 17 00:00:00 2001 From: JazzyNico Date: Thu, 27 Jan 2011 18:04:53 +0100 Subject: [PATCH] Extensions. XAML export improvements (gradients, clipping) and minor fixes. --- share/extensions/svg2xaml.xsl | 374 +++++++++++++++++++++++++++------- 1 file changed, 304 insertions(+), 70 deletions(-) diff --git a/share/extensions/svg2xaml.xsl b/share/extensions/svg2xaml.xsl index c36d964bd..aabfffbd0 100755 --- a/share/extensions/svg2xaml.xsl +++ b/share/extensions/svg2xaml.xsl @@ -119,7 +119,8 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + + @@ -364,7 +365,7 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + @@ -378,6 +379,20 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> + + + + + + + + + + + + + + @@ -403,6 +418,7 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> * Generic filters template * Filter effects * Linked filter effects + * Absolute gradients * Linear gradients * Radial gradients * Generic gradient stops @@ -414,7 +430,7 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> --> - + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + @@ -507,6 +557,26 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> + + + + + + + + 0 + + + + + + + + + + 0 + + @@ -517,7 +587,7 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + @@ -529,7 +599,7 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + @@ -589,6 +659,26 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> + + + + + + + + 0 + + + + + + + + + + 0 + + @@ -596,7 +686,7 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + @@ -608,7 +698,7 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + @@ -638,7 +728,7 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + @@ -815,17 +905,46 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> (since it is not supported by Inkscape, not implemented yet) --> + + --> + - + - - + + - + @@ -1068,8 +1188,7 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - - + @@ -1080,10 +1199,10 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + - + @@ -1115,7 +1234,7 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + @@ -1177,16 +1296,17 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + + - + - - + + - + @@ -1311,11 +1431,11 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + - + @@ -1339,7 +1459,7 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + @@ -1348,13 +1468,13 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + - + @@ -1372,23 +1492,38 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> --> - - - - - - - - + + - - + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + @@ -1535,10 +1670,10 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + - + @@ -1572,12 +1707,12 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + - + @@ -1598,7 +1733,7 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - #000 + #000000 @@ -2495,7 +2630,8 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + + @@ -2675,40 +2811,138 @@ exclude-result-prefixes="rdf xlink xs exsl libxslt"> - + - - + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.30.2