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
SVG is impossibly complex unfortunately, we certainly do not support everything. This looks like one of the tags we do not support yet. I add support for more things every now and then as I find SVG examples of them. I don't think clipPath would be particularly difficult to add fortunately.
Definitely! You guys are heroes for building this!
I have read the svg.nim to figure out how it was built, but I haven't understood it well enough yet to try to implement clipPath myself. Will try to wrap my head around it and give it a go.
No problem. The svg.nim file is certainly not the cleanest file we have since SVG is always in-flux, hard to clean up something always getting more complicated haha. If you do manage a PR that'd be great, otherwise it is something I can work on next time I do SVG work.
I was trying to draw one of my SVGs, but got the following error:
Simple test image that generates the error:
I don't know if the current plan is to use Cairo for SVGs, but I thought I would create an issue anyways.
How hard would it be implementing
clipPath
given that we already have masks in the drawing library?The text was updated successfully, but these errors were encountered: