mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
* Direct Selection tool: reshape paths after they're drawn (#790) Adds Photoshop's Direct Selection tool (A, in the Path Selection flyout) and the Pen's Cmd/Ctrl (Direct Selection) and Alt (Convert Point) modifiers. It selects and drags anchors, direction handles and segments of the work path, the active shape layer's path and a targeted vector mask. The geometry lives in photocraft_vector::edit; new engine commands path.moveAnchors, path.moveHandle, path.bendSegment and path.convertPoint apply it (one history step per drag, drivable over MCP and the control channel), and the canvas previews a drag with the same code. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Tool::ALL holds 49 tools now that Direct Selection and Magnetic Lasso both landed Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Brandon Thomas <[email protected]>
15 lines
410 B
XML
15 lines
410 B
XML
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width="24"
|
|
height="24"
|
|
viewBox="0 0 24 24"
|
|
fill="none"
|
|
stroke="currentColor"
|
|
stroke-width="2"
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
>
|
|
<path d="M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z" />
|
|
<rect x="16.5" y="16.5" width="4.5" height="4.5" />
|
|
</svg>
|