mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 20:01:07 +01:00
A stroke that starts and ends on an open path away from its ends now looks at the way it runs along the path at each end. Where it starts it replaces the part it runs along; where it lands it joins the part it runs into. So it replaces the part between (and the path stays open), keeps the part between and closes the path along the stroke, or, when its two ends disagree, keeps the start's choice and ends where the pen is lifted. An end runs along the path when its first stretch, as long as Edit Selected Paths' distance, stays within that distance and moves along the path more than away from it. An end that leaves or meets the path squarely follows the other end; when both do, the stroke closes the path only if it goes round both pieces beyond its ends. This brings back closing across an open shape's opening (a C drawn over both arms closes into a ring), which the previous commit had taken out, and keeps a bump over an L's corner redrawing the corner.