mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-22 20:39:07 +00:00
Simplify and Smooth refit a closed path from its first corner and kept that order, so the path's first anchor moved and its dashes started somewhere else. A refit now starts at the old first anchor when it keeps one there, otherwise at a new anchor where the refit passes nearest that point while the result still has fewer anchors than the path had, and otherwise at the refit's nearest anchor. Its direction stays the same. A direct-selected run across the start follows the same rule; before, the path started at the run's end anchor. The Smooth tool's start_nearest moves into vectorcraft-pathops, and both commands call it with the limit on anchor count above.