mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-30 10:16:46 +01:00
From the review of #2732: - A segment is on the outline when the fill lies on one side of it, in the fill or outside it when on both or neither. The loops alone don't say: a loop inside another that turns the same way bounds nothing under the non-zero rule, and was stroked as outline. - An inside stroke cut every line in the fill by the fill. Now only what shows past the outline around a point where such a line ends on it: a line that goes through the fill keeps its parts outside, and one close to the edge its whole stroke. - A segment's middle comes from its own curve, not from a copy of the network. - The stroke cache's key takes in the segments and the points' places: the loops name segments by number, and two networks can have the same path with other numbers.