mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 01:15:25 +00:00
With Invert Wrap and a positive offset, a line's band was cut into at most 64 pieces, and anchor cuts were dropped when a shape had more than 64 of them. Beside a notch the offset fills, a line could stop at the notch instead of at the grown edge: 20 pt short beside a 0.5625 pt notch with an offset of 1, and short beside sloped notch sides and tall bands. The grown shape is now measured exactly: the shape near the band is cut into trapezoids, each grown by the offset into a convex polygon, and the line keeps the x at which those polygons hold every height of its band. The work is capped; a shape that needs more steps than the cap, for example one whose edges cross one another tens of thousands of times, keeps the 64-piece measure, which keeps the line inside the grown shape. A band of no height exactly the offset past a shape's tip now holds a line too.