mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-02 18:13:39 +00: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 <noreply@anthropic.com> * Tool::ALL holds 49 tools now that Direct Selection and Magnetic Lasso both landed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<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>
|
||||
|
After Width: | Height: | Size: 410 B |
Reference in New Issue
Block a user