mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-24 19:36:42 +00:00
A Smooth drag measured every anchor of each path against every stretch of the drag, and every curved segment's box against every stretch twice, so a release on a path of 100,000 anchors made tens of millions of measures however short the drag was. - The drag's stretches are listed once per release in a grid over the drag's bounds grown past the reach. An anchor outside those bounds is out of reach without measuring, and a point or box is measured only against the stretches listed in the cells it covers. Every query gives at least the stretches the whole-drag measure finds in reach, so the marks, the cuts and the smoothed path are the same as before. - The refitted runs of a path are put back from its end without moving the rest of the anchor list for each run. On a curved path of 100,000 anchors, a drag of 200 points over 200 pt of it makes 7,533 measures to find the curved segments in its reach, where it made 19,899,801.