summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2af463d)
raw | patch | inline | side by side (parent: 2af463d)
author | JazzyNico <nicoduf@yahoo.fr> | |
Thu, 28 Jan 2010 21:08:06 +0000 (22:08 +0100) | ||
committer | JazzyNico <nicoduf@yahoo.fr> | |
Thu, 28 Jan 2010 21:08:06 +0000 (22:08 +0100) |
share/extensions/svg2xaml.xsl | patch | blob | history |
index cf8f78f744ab6a24651bce01a1209da6fdbba8fe..9cc71e8c6da2946c93a5cc27bd5f887b3f897f87 100644 (file)
<xsl:if test="@width"><xsl:attribute name="Width"><xsl:value-of select="@width" /></xsl:attribute></xsl:if> \r
<xsl:if test="@height"><xsl:attribute name="Height"><xsl:value-of select="@height" /></xsl:attribute></xsl:if> \r
<xsl:if test="@rx"><xsl:attribute name="RadiusX"><xsl:value-of select="@rx" /></xsl:attribute></xsl:if> \r
- <xsl:if test="@ry"><xsl:attribute name="RadiusY"><xsl:value-of select="@ry" /></xsl:attribute></xsl:if> \r
+ <xsl:if test="@ry"><xsl:attribute name="RadiusY"><xsl:value-of select="@ry" /></xsl:attribute></xsl:if>\r
+ <xsl:if test="@rx and not(@ry)"><xsl:attribute name="RadiusX"><xsl:value-of select="@rx" /></xsl:attribute><xsl:attribute name="RadiusY"><xsl:value-of select="@rx" /></xsl:attribute></xsl:if>\r
+ <xsl:if test="@ry and not(@rx)"><xsl:attribute name="RadiusX"><xsl:value-of select="@ry" /></xsl:attribute><xsl:attribute name="RadiusY"><xsl:value-of select="@ry" /></xsl:attribute></xsl:if>\r
<xsl:apply-templates mode="id" select="." />\r
<xsl:apply-templates mode="template_fill" select="." />\r
<xsl:apply-templates mode="template_stroke" select="." />\r