You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just discover your package, and it looks like the perfect tool for the job.
I am trying to find the way to apply the viewbox to all the objects in the SVG file, in order to get the right display, since the SVG example I have has a width and height defined (default values is my guess) but the viewBox is very different, "squeezing" the y-axis.
Using the (raw) coordinates in the paths does not render properly.
I guess I need to apply the viewBox transform before, but I haven't succeded yet. I tried transform, render, or Matrix without success (e.g. just a_path.render() does not take the viewBox into account).
This is the "header of the SVG defining a width, height and viewBox:
Hello,
Just discover your package, and it looks like the perfect tool for the job.
I am trying to find the way to apply the viewbox to all the objects in the SVG file, in order to get the right display, since the SVG example I have has a
width
andheight
defined (default values is my guess) but theviewBox
is very different, "squeezing" the y-axis.Using the (raw) coordinates in the paths does not render properly.
I guess I need to apply the viewBox transform before, but I haven't succeded yet. I tried
transform
,render
, orMatrix
without success (e.g. justa_path.render()
does not take theviewBox
into account).This is the "header of the SVG defining a width, height and viewBox:
The rest of the document is simple paths.
Thanks in advance
The text was updated successfully, but these errors were encountered: