Skip to content

Add missing isPointInFill and isPointInStroke methods for SVGGeometryElement (web-sys idl update) #4509

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

amacgillivray
Copy link

Add missing isPointInFill and isPointInStroke methods to SVGGeometryElement idl.

Fixes #4507


For the fix, I read the contributing guidelines regarding the web-sys package. Once I figured out how the interfaces are built from the IDLs, I found the SVGGeometryElement IDL on w3.org and added the missing interfaces. Then, I compiled using the instructions for adding new web-sys APIs.

The generated interfaces looked correct to me so I figured I'd go ahead and make a PR. Hope this helps. Let me know if this isn't quite correct!

@amacgillivray amacgillivray changed the title Add missing isPointInFill and isPointInStroke methods Add missing isPointInFill and isPointInStroke methods for SVGGeometryElement (web-sys idl update) May 6, 2025
@amacgillivray
Copy link
Author

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

Successfully merging this pull request may close these issues.

SvgGeometryElement is missing the "isPointInFill" and "isPointInStroke" methods
1 participant