branch: externals/svg-lib commit f0b213647680d43a43c7f482ad79bdceb7f91c5c Merge: 8427772 5c206f3 Author: Nicolas P. Rougier <nicolas.roug...@inria.fr> Commit: GitHub <nore...@github.com>
Merge pull request #7 from HyunggyuJang/remove-hard-image-scale Remove hard coded image scaling factor --- svg-lib.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/svg-lib.el b/svg-lib.el index 815f088..efaf7c5 100644 --- a/svg-lib.el +++ b/svg-lib.el @@ -247,7 +247,7 @@ and style elements ARGS." (svg-text svg label :font-family font-family :font-weight font-weight :font-size font-size :fill foreground :x text-x :y text-y) - (svg-image svg :scale 1 :ascent 'center))) + (svg-image svg :ascent 'center))) @@ -318,7 +318,7 @@ and style elements ARGS." (elliptical-arc ((,iradius ,iradius ,x1 ,y1 :sweep t :large-arc ,large-arc)))) :fill foreground)) - (svg-image svg :scale 1 :ascent 'center))) + (svg-image svg :ascent 'center))) ;; Create a progress bar @@ -375,7 +375,7 @@ and style elements ARGS." (- tag-height stroke (* 2 padding)) :fill foreground :rx (- radius (/ stroke 2.0))) - (svg-image svg :scale 1 :ascent 'center))) + (svg-image svg :ascent 'center))) @@ -473,7 +473,7 @@ given STYLE and style elements ARGS." (svg-node svg 'path :d path :fill foreground :transform icon-transform))) - (svg-image svg :ascent 'center :scale 1))) + (svg-image svg :ascent 'center))) @@ -560,7 +560,7 @@ and style elements ARGS." (svg-node svg 'path :d path :fill foreground :transform icon-transform))) - (svg-image svg :scale 1 :ascent 'center))) + (svg-image svg :ascent 'center)))