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 path stringify #1387

Merged
merged 5 commits into from Mar 1, 2021
Merged

Implement path stringify #1387

merged 5 commits into from Mar 1, 2021

Conversation

TrySound
Copy link
Member

@TrySound TrySound commented Mar 1, 2021

Ref #32

Added stringifyPathData utility to produce small as possible path by

  • matching leading moveto and line to commands (m -> l, M -> L)
  • combining moveto and lineto commands
  • avoiding space before decimal numbers if possible

Ref #32

Added `stringifyPathData` utility to produce small as possible path by
- matching leading moveto and line to commands (m -> l, M -> L)
- combining moveto and lineto commands
- avoiding space before decimal numbers if possible
@TrySound TrySound requested a review from deepsweet March 1, 2021 09:55
@TrySound TrySound merged commit 04b2ae9 into master Mar 1, 2021
@TrySound TrySound deleted the new-path-stringify branch March 1, 2021 22:07
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.

None yet

1 participant