mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 13:32:45 -05:00
Steps between two live rectangles were made by matching the keys' anchors and moving each anchor and handle in a straight line. When the keys' corners had different anchor layouts (a sharp rectangle and a rounded one, or radii too large for one key), the steps' corners came out as skewed curves, and every step lost its live rectangle. Steps between two live rectangles with the same corner kinds and the same rotation, reflection and shear are now live rectangles whose width, height, position and corner radii lie between the keys'. Each key's radii are the radii it draws, so a stored radius too large for its rectangle counts as the largest that fits. A start anchor given for either key, and every other pair, keep anchor matching. Fixes #10707