mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 14:17:14 +00:00
With Smart Guides and Snap to Tangent on, an Alt+Shift drag with the Ellipse tool snaps the circle's radius so that the circle touches a nearby path, when the radius comes within the snapping tolerance of that size. The touch point is where the line from the center meets a straight segment or a curve square, inside a segment or at an anchor where the path runs smoothly, including an anchor where a curve's handle lies on the anchor. A circle can touch another circle from outside or from inside. Corners, open path ends and curves around the same center are not offered. The touch point shows the "tangent" label, the radius is measured along the Constrain Angle's axes, and Space moves the circle at the size it snapped to, which it keeps when Space is let go. When an anchor, center or crossing is near the pointer, or the dragged corner snapped onto one, the circle is not resized. An ellipse without Shift is not snapped. Snap to Grid and pixel snapping place the point instead, also when turned on during the drag, and turning Snap to Tangent off during the drag stops the snap. A press with a small jitter is still a click rather than a drag. Each pointer move measures at most 256 segments near that radius.