The Three-Point Arc tool gets two options in its Tool Options:
- Join to Open Path Ends (`join`, off by default; J switches it while
the ends are placed): an end placed within 5 screen points of an end
of an open path lands on it, and the arc is joined to that path. The
path keeps its look and, when one end joins, its direction. With both
ends on open path ends the two paths become one, or the path closes
when both are its own ends. It is one undo step.
- Snap Where the Arc Continues a Path (`tangentSnap`, on by default): in
direction mode, when the direction line starts on an end of an open
path, a third point near the line along which the arc carries the
path on, the same way or turned back, snaps onto it, and the tool
shows the line dashed.
`shape.threePointArc` takes `join: true` for the same join; it picks a
path in the selection first, then the front one, and in isolation mode
only paths inside the isolated group.
With both ends placed and Shift held, switching modes with `]` left the
point the tool showed where the old mode put it until the pointer moved,
while a click there drew the arc of the new mode.
An arc near the canvas edge whose handles reach past it while the curve
stays inside showed "Arc too large", though shape.threePointArc draws it.
The tool now measures the curve's bounds, as the document's range check
does for such a path.
- `tool.setOption` (and the Tool Options dialog) now accepts `direction`
as true or false and refuses other values or unknown options.
- The first press counts as a drag when the pointer moves 2 pt from
where it was pressed, not from the point it snapped to.
- `]` pressed while the third point is held down places that point as
the new mode keeps it.
A release at the position of the last pointer event kept the point that
the earlier keys had constrained. Pressing the third point with Shift and
letting go with Shift and Alt drew the direction from the second end but
kept the 45-degree step taken from the first. The release now places the
point again when Shift or Alt changed, for both ends and the third point.
A change of keys alone does not make the first press a drag, so a click
that snaps to an anchor and is let go with Shift changed places only the
first end.
The Three-Point Arc tool, after the Arc tool in the Line Segment tool's
group, places two ends by a drag or two clicks, then a third point. The
arc passes through the third point, or with Third Point Sets Direction on
it leaves the first end heading toward it, or with Alt arrives at the
second end along the line from it. The setting is in the tool's Tool
Options (a double-click on the tool), and ] switches it while drawing.
The tool previews the arc, its center and radius, and shows "Arc too
large" where no arc fits.
shape.threePointArc {start, end, through | toward, at?} draws the open
arc in one undo step and refuses points with no arc, malformed points,
both or neither of through and toward, an at other than start or end,
and an at given with through.
Part of #7178.