Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement SVGGeometryElement #109

Open
matthelliwell2 opened this issue Jul 13, 2023 · 3 comments
Open

Implement SVGGeometryElement #109

matthelliwell2 opened this issue Jul 13, 2023 · 3 comments

Comments

@matthelliwell2
Copy link

I need to test my calls various calls to the SVGGeometryElement methods, eg isPointInFill. It doesn't look like svgdom implements these methods. Are there any plans to implement them?

@Fuzzyma
Copy link
Member

Fuzzyma commented Jul 13, 2023

No, not yet. This library grows with it's requirements so feel free to implement the methods you need :).

pointInFill sounds like a bigger undertaking tho especially for complex shapes

@matthelliwell2
Copy link
Author

I did have a look at this but it's beyond me once you start with stroke widths and ends. Back to Karma is it I suppose.

@Fuzzyma
Copy link
Member

Fuzzyma commented Jul 14, 2023

well, isPointInFill does NOT include strokes. That would be way harder :D
If you need isPointInStroke - well, yes, thats an undertaking on its own

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants