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
Like the snippet above, only the SVGelement can be returned, not the full linearGradient
I'm not sure how to write to the file using svgwrite for this element
Any other solutions?
The text was updated successfully, but these errors were encountered:
#76 -- Svgelements is mostly to actually get the the geometry out of the svg file. While linearGradients are nice they are sort of a higher level paint object. There's not any actual geometric/rendering done for them. The fills and strokes are Colors since that was the easiest and most properly useful thing for geometric data. Following the IRI link to the linearGradient for rendering just wasn't going to result in rendered data. It certainly is an SVGElement there's just not much the project renders with it.
I'm not quite sure what your trying to solve here. But, I think it's one of those many projects that needs something like #87 for better svg file reading and writing from within python.
While svgelements loads svgs and does so in a robust way it loads the data and gives the geometry approximating a rendered result. The lack of saving is largely because the data is loaded but the core structure of the svg is destroyed in the process. You can write something that will look the same geometrically speaking but it will lose node data and somethings that don't get processed can't just be correctly passed through as unknowns.
Like the snippet above, only the SVGelement can be returned, not the full linearGradient
I'm not sure how to write to the file using svgwrite for this element
Any other solutions?
The text was updated successfully, but these errors were encountered: