mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 21:17:48 +00:00
Offset Path now turns the overlap sweep the way Outline Stroke and Unite do. When the estimate for its fill, the ring stroked around it and the outline of its open subpaths is under two thirds as large for the parts turned a quarter turn, the faces are found on the turned parts, the faces within the offset distance of the path are dropped by testing their points turned back, and the result is turned back. On an open path of 10,000 anchors in rows of 1,000, offsetting by 2 pt takes 1.0 s of processor time instead of 1.8 s in a release build. The offset of a long, low path has as many subpaths as the offset of the same path stood on end, and the area where the two differ is no larger than the refit precision times the outline's length.