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

feat: add path parsing to BasicShape #824

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

noahbald
Copy link

@noahbald noahbald commented Oct 7, 2024

This PR adds support for parsing and minifying path definitions, such as clip-path: path('M0 0L10 10') which would be minified as clip-path: path('M0 0 10 10')

See here for tests, which covers all the path optimization related tests from SVGO


To finish for this PR

  • Implement serde derives
  • Implement Visit derive
  • Implement json-schema

@noahbald
Copy link
Author

noahbald commented Oct 7, 2024

Hi, starting this as a draft as this a first-time contribution. Let me know if I've missed anything!

@noahbald noahbald marked this pull request as ready for review October 9, 2024 11:33
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

Successfully merging this pull request may close these issues.

1 participant