From 7f641348863e5374335a6df06096014c47cc0e7d Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 5 May 2024 23:29:11 +0200 Subject: [PATCH] try to center the image (probably don't work on something else than my screen) --- svg.xsl | 42 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 8 deletions(-) diff --git a/svg.xsl b/svg.xsl index 58b52a8..139828a 100644 --- a/svg.xsl +++ b/svg.xsl @@ -4,14 +4,14 @@ - + + @@ -19,14 +19,40 @@ - + + name="width" select="1000" /> + + + + + + + + + + + + + + + + + + + + + + + - + transform="translate({$transX}, {$transY}) scale({$scale})"> +