Files
vectorcraft/crates/tools
dotCooCoo f9367c4c10 Pen: Quick Pen handles at a path's ends make its line or arc longer or shorter
The Quick Pen tool shows a handle beyond the start and the end of the
path being drawn, or, while none is, of the selected path, where that
end is a straight line or a circular arc. Dragging the handle changes
the length of the line or arc there, as the Quick Pen help page
describes:
https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/draw-with-quick-pen-tool.html

- A line keeps its other point and its direction. An arc keeps its
  other point, its circle and the way it turns; its sweep follows the
  pointer around the circle, up to 359 degrees. A drag stops where the
  path would reach past the canvas.
- Each drag is one undo step, and Escape during the drag takes it back.
  The path being drawn goes on from the new end. The pieces the drag
  does not change stay pieces, so C and [ ] still change the last one,
  and a dragged last arc keeps at least 1 degree.
- A click on a handle that does not drag adds a point, closes the path
  or starts one, as a click anywhere else does.
- path.quickPenLength {id, subpath?, end?, length} sets the same length
  for agents and scripts (params text and docs/mcp.md).

The handle's place 20 screen points beyond the end, the 359 degree
limit, the 1 degree minimum, Escape during a drag, the handles on a
selected path and the dragged end not snapping to Smart Guides are
VectorCraft's own rules.

Part of #2660 (reported by earlvanze).
2026-11-19 13:59:39 -08:00
..