mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-06 05:53:08 -05:00
A pattern family based far from the boundary lost the fraction of the boundary's center: base minus center rounded to the base, so a family based 1e19 away drew its lines through the center instead of at whole offsets. The base and the center are now each measured from the line through the origin before the offset count is taken. Each pattern line is now measured from its point nearest the boundary's center, with its dash start as a signed distance within one period. A dash period far longer than the boundary (dashes 1e16 long) left the line's origin about 2e16 away, where the span tolerance dropped every span and the hatch drew nothing. The elements that end the period before a span are measured back from that period's end, so a long period no longer moves a dash's start.