Add support for Inkscape arc shapes #253
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for Inkscape's not-quite-a-circle shapes. They're derived from the _RoundShape class and extend them by allowing a start and stop angle, with different options for closing the open path.
I'm sure I'm missing some details in my PR, like specific code formatting or more docstrings/comments. Please let me know what you'd like changed and I'll be happy to make the updates.
Also let me know if you think this is beyond the scope of svgelements. This PR solves a problem for me and I'll happily contribute back but I also understand if you'd like to stick to plain SVG. That said, there are other Inkscape shapes like stars and spirals that might be fun to add as well :)