mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 15:26:12 +00:00
The check that the record's orientation lays the steps out as drawn compared a step's outline as one set of lines. A half turn of a group of a red square beside a blue one keeps that outline and trades the squares' places, so such a blend passed as Align to Path. Each subpath is now compared with the other's subpaths of a matching fill; a compound path's members take its fill, and gradient or pattern fills are compared with each other by their outline. The check also tries the laid steps nearest first when it compares outlines. Before, every step in place was compared, so a hundred steps crowded within the tolerance used up the outline comparisons on the first one and the check failed. Tests: grouped red and blue squares on a spine running right to left, drawn unturned, keep Align to Page with a record naming either orientation, and keep Align to Path when drawn turned; a group of a gradient-filled triangle turned a half turn doesn't match; a hundred crowded steps match their drawn copies; 998 crowded steps keep Align to Page.