fix reverse of move command
What does the merge request do?
Correct the path command reversal of the absolute and relative move commands.
Closes #445 (closed)
Implementation notes
The unit tests only reversed paths with just one subpath (i.e. the Move command only occured as first command of a tested path), so the error didn't occur.
The example from #445 (closed) as well as a more complex example (see following picture) have been added as unit tests.
Summary for release notes
The "Reverse Path" method now returns correct results for paths with multiple subpaths.
Checklist
-
Add unit tests (if applicable) -
Changes to inkex/
are well documented -
Clean merge request history