stroke width
This commit is contained in:
parent
8f7dcd9cb4
commit
34bc66cb4d
1 changed files with 2 additions and 4 deletions
6
svg.xsl
6
svg.xsl
|
@ -42,10 +42,8 @@
|
||||||
<xsl:variable
|
<xsl:variable
|
||||||
name="transY" select="$height - max(LINETO/@y) * $scale" />
|
name="transY" select="$height - max(LINETO/@y) * $scale" />
|
||||||
|
|
||||||
<!-- TODO : Faudrais faire en sorte que :
|
<g stroke="black"
|
||||||
+ le scale est petit
|
stroke-width="{1 div $scale}"
|
||||||
+ l'épaisseur du tracé est épais -->
|
|
||||||
<g stroke="black" fill="none"
|
|
||||||
transform="translate({$transX}, {$transY}) scale({$scale})">
|
transform="translate({$transX}, {$transY}) scale({$scale})">
|
||||||
<xsl:call-template name="generatePath" />
|
<xsl:call-template name="generatePath" />
|
||||||
</g>
|
</g>
|
||||||
|
|
Reference in a new issue