mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 20:01:07 +01:00
Two follow-ups from the review of #8846. A profile segment with no flattened point of its own is a straight run, and a single midpoint probe can match the chord while the curve leaves it nearer the ends, so let the sampler measure it. A window past the seam of a closed path (a dash crossing it) probed profile positions past 1, where the widths wrap; shift the probes to the window's own positions, as the sampler already does. Both have a regression test that fails without its fix.