You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to combine parts of 2 paths, but one is written in a clockwise order and the other in a counter/anti-clockwise order. I would love to be able to flip the order of the points with a button, which would probably fit well in the "Path operations" section.
I checked how it's implemented in krispo/svg-path-utils, it's a relatively naive implementation that just reverts all path components — doesn't work as expected for relative coordinates, for arcs, for vertical line, horizontal lines or when shorthand curves are used.
I'm trying to combine parts of 2 paths, but one is written in a clockwise order and the other in a counter/anti-clockwise order. I would love to be able to flip the order of the points with a button, which would probably fit well in the "Path operations" section.
https://github.com/krispo/svg-path-utils has an implementation of this that can probably be borrowed or used directly.
The text was updated successfully, but these errors were encountered: