You must log in or # to comment.
viewBox="0 0 $svg_width $svg_height"The y co-ordinate is harder. The algorithm is: Find the height of the SVG.
Why is the viewBox using parameters?
SVG stands for scalable vector graphics. Let it scale.
viewBox can serve as a native baseline area coordinate system. Put width and height on the SVG or let it render in its container instead of misusing the viewBox for size and it will scale just fine. No?



