mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 10:01:58 +00:00
Two contours of an area-type frame now count as meeting along a slanted edge only when their edges lie exactly on one line, checked with an exact cross product, and the intervals on either side of a seam join only where both edges cross the middle of the band at the same x, found along the same line. Before, both checks allowed a few units in the last place of the coordinates, which near the edge of the canvas (x = 3,999,000) is wider than a real gap of one to four units, so a line ran across the gap outside the frame. An edge divided by an anchor exactly on it still joins, including where the divided edge's own crossing would round to another x.