Commit Graph
998 Commits
Author SHA1 Message Date
BFlat 39b7ed38f8 Merge pull request #8261 from dotCooCoo/feat/place-shift-click-import-options
Place: a Shift-click with the loaded place cursor shows the file's import options
2026-11-17 09:47:24 +07:00
BFlat 6d8db923c2 Merge pull request #8221 from dotCooCoo/feat/flare-alt-click-default
Flare: an Alt-click draws a flare at the click with the tool's options
2026-11-17 09:46:34 +07:00
BFlat 95aede8b49 Merge pull request #8195 from dotCooCoo/feat/trim-crossings-knife-flyout
Trim at Crossings: the tool is in the Scissors tool's flyout and shows a knife cursor
2026-11-17 08:20:36 +07:00
BFlat 84a8d781fc Merge pull request #8043 from dotCooCoo/fix/issue-8024
Eyedropper: Escape ends a gradient stop's or Key Color's pick and returns to the previous tool
2026-11-17 08:20:01 +07:00
BFlat b99a5cf798 Merge pull request #8091 from dotCooCoo/fix/issue-8047
Selection: a press on members picked with Group Selection drags only them
2026-11-17 08:19:37 +07:00
BFlat 79d2536e8e Merge pull request #8089 from dotCooCoo/fix/issue-8063
Part of #8063: Dimension tool points snap to drawn dimensions and show anchor and path labels
2026-11-17 08:19:12 +07:00
BFlat f619888fe2 Merge pull request #8074 from dotCooCoo/feat/intertwine-layers-drop
Layers: dragging objects into an Intertwine group adds them to it
2026-11-17 08:19:04 +07:00
dotCooCoo 2d1ecbab32 Place: a Shift-click with the loaded place cursor shows the file's import options
A Shift-click with the place cursor now opens the current file's import
options (Text, DXF, Place PDF or Place PSD) before it is placed, whether
the cursor was loaded with Show Import Options on or off or by
file.place.queue. OK places the file at the click and the cursor moves to
the next file. The options the cursor was loaded with for the file's
format are put aside so the dialog opens, and are used when no dialog
opens for the file (a PNG image, a one-page PDF, a linked PSD file). A
Shift-drag places at the dragged size, as a drag does. Headless, where no
dialog can open, a Shift-click places as a click does.

The place tool marks a Shift-click's file.place with
showImportOptions: true.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-16 14:18:21 -08:00
dotCooCoo 473b887542 Merge main into feat/flare-alt-click-default 2026-11-16 11:59:16 -08:00
dotCooCoo 02e8f3eb54 Flare: an Alt-click draws a flare at the click with the tool's options
With the Flare tool, an Alt-click (Option-click on macOS) now draws a flare
centered at the click at once, with the tool's current options, instead of
opening the Flare Tool Options. Alt counts when it is held as the button goes
down; a drag with Alt draws the flare in two stages as before. While the
perspective grid shows with an active plane, the flare is drawn on that plane
from the click, as the dialog's OK draws it, and a click the plane cannot take
reports the error. A plain click still opens the dialog.
2026-11-16 11:47:43 -08:00
dotCooCoo 57904698e3 Merge main into fix/issue-8063 2026-11-16 10:50:24 -08:00
dotCooCoo 68e0aee65a Merge main into fix/issue-8047 2026-11-16 10:50:23 -08:00
dotCooCoo cee1dbaa96 Merge main into feat/intertwine-layers-drop 2026-11-16 10:49:58 -08:00
dotCooCoo be6313bda3 Merge main into feat/direct-marquee-blend-spine 2026-11-16 10:42:43 -08:00
dotCooCoo 8b067eb6c5 Merge main into fix/issue-8024 2026-11-16 10:41:19 -08:00
dotCooCoo 54538090ce Trim at Crossings: the tool is in the Scissors tool's flyout and shows a knife cursor
The Trim at Crossings Tool joins the Scissors group in both shipped
toolbars, after the Knife, and stays in Object › Plug-ins › Path
Precision Tools. The All Tools drawer lists it once, in the Scissors
group, and Edit › Keyboard Shortcuts › Tools lists it once. It has no
default shortcut. A toolbar the user already edited keeps its saved
layout; Reset Toolbar adds the tool.

The Knife's cursor is now drawn as a knife, its blade's point on the
hotspot, instead of borrowing the crosshair. The Knife tool and the Trim
at Crossings Tool both show it. Use Precise Cursors still shows the
crosshair.

Suggested by erolka and leanma.
2026-11-16 09:26:29 -08:00
BFlat 9669720367 Merge pull request #8138 from dotCooCoo/feat/live-paint-stroke-drag
Live Paint: a Bucket drag from an edge strokes every edge it crosses
2026-11-16 23:54:02 +07:00
BFlat e6ad615815 Merge pull request #8116 from dotCooCoo/fix/arc-params-reject-invalid
Shapes: invalid arc options and grid counts are errors instead of defaults
2026-11-16 23:53:53 +07:00
BFlat cf99cd708f Merge pull request #8124 from dotCooCoo/feat/radial-repeat-splitter
Repeat: dragging a Radial Repeat's splitter hides instances and the others keep their places
2026-11-16 23:07:16 +07:00
dotCooCoo e575a2dab5 Live Paint: a Bucket drag reaches an edge only where it crosses the edge itself
The drag check took any line intersection kurbo reported, and kurbo also reports
one a tiny step before the start or after the end of a cubic. On a long curve that
step reached past the 0.0001 pt join tolerance, so a drag 0.0002 pt short of an edge
stroked it. Only intersections inside the segment count now; the checks on the
edge's ends still cover touches there.
2026-11-16 06:38:42 -08:00
dotCooCoo 69b4f3ae96 Shape tools: Backtick held at the press measures the first copy from there
A drag that starts with Backtick already down set the copy spacing origin at the first drag event, so a short first stretch of the drag could leave no copy. The press now sets it.
2026-11-16 05:34:43 -08:00
dotCooCoo ebeffa15ab Live Paint: a Bucket drag from an edge strokes every edge it crosses
A press on an edge (Shift with Paint Fills alone, or a plain press with
Paint Strokes on) now starts a drag, as a press on a face does. The drag
paints the edge and every visible edge of the same group that it crosses
or comes within 0.0001 pt of, between pointer events and on the release,
as one undo step; Escape cancels it. Edges of other groups and hidden
edges keep their strokes, a drag over edges that already have the stroke
records no undo step, and a drag that starts on a face still fills only
faces. A double-click after such a drag joins through the edges the drag
stroked as the paint they had before it.

livePaint.strokeEdge takes the drag's points and continuation as
livePaint.fill does, and both refuse them with scope connected or
samePaint.

Help page: https://helpx.adobe.com/illustrator/desktop/paint-and-fill/learn-painting-basics/paint-with-the-live-paint-bucket-tool.html
2026-11-16 05:32:00 -08:00
dotCooCoo 9ecc8087c3 Shape tools: Backtick held while dragging leaves copies of the shape
Holding Backtick while dragging out a rectangle, rounded rectangle,
ellipse, polygon, star or line leaves a copy of the shape being drawn
each time the pointer has moved 8 screen points with the key down, up to
128 copies a drag. Each copy is its own object, drawn as the drag showed
it then. The release keeps the copies and the last shape as one undo
step, and Escape takes them all back. The spacing and the limit are
VectorCraft's own values.

The `backquote` descriptions of `pointer_gesture` name the shape tools.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-16 04:53:06 -08:00
dotCooCoo 64dfd6ca14 Repeat: dragging a Radial Repeat's splitter hides instances and the others keep their places
With one radial repeat selected, the Selection tool shows a splitter on
its circle, half a step past the last instance shown. Dragging it back
around the circle hides the instances it passes, and dragging it forward
shows them again; one instance stays shown at least. The instances left
keep their places: the repeat keeps the count shown in instances and
spaces them a full circle's step apart with endAngle, and the full
circle's count is read back from that step. Each drag previews and
commits object.repeat.options as one undo step, Escape cancels it, and a
drag that ends where it began leaves no undo step. There is no splitter
when the step does not divide a full turn, for one instance to a turn or
with a radius of 0. The radius handle of a single instance sits opposite
it.
2026-11-16 04:50:48 -08:00
dotCooCoo 70a8ccc8a2 Merge main into feat/radial-repeat-splitter 2026-11-16 04:13:30 -08:00
dotCooCoo 5e36bba7d6 Merge main into fix/arc-params-reject-invalid 2026-11-16 03:52:45 -08:00
dotCooCoo b962c81213 Selection: Shift and Distance Guides treat selected group members as selected
A Shift-press on a member selected inside a group still toggled the outer
group at once, so a Shift-drag moved the whole group, and Alt over the
member drew Distance Guides from the selection to the group holding it.
Both now use the same selected-art test as a plain press: a Shift-drag
moves the selected members, constrained, a Shift-click takes the pressed
member out of the selection, and Alt over it shows no Distance Guides.

Docs: docs/target-app-parity.md.
2026-11-16 01:32:10 -08:00
dotCooCoo 5f996eea32 Part of #8063: Dimension tool points snap to drawn dimensions and show anchor and path labels
A Linear point picked near the end of another dimension's line landed
beside it when zoomed in: the tool's own pick skipped dimension artwork,
so that end pulled the point only within the Smart Guides tolerance,
while an anchor of the art pulls it from 8 pixels.

- With Smart Guides or Snap to Point on, a point that no anchor of the
  art within 8 pixels takes lands on the end of a visible, unlocked
  dimension's dimension line, or on the far end of its extension line,
  within 8 pixels, with no link to that dimension. The end of an
  extension line next to the point it measures is not an end, so an
  anchor that a dimension already measures still takes the point.
- A point that nothing else places lands on the closest point of such
  a line within 8 pixels, as it does on a segment of the art.
- With Smart Guides and Anchor/Path Labels on, a point on an anchor or
  a line end shows the "anchor" label, and a point on a segment or line
  shows the "path" label. A point on a line end is marked as an anchor.
- A press on a line end that moves a few pixels picks it, as a press on
  an anchor does.

Docs: docs/dimensions.md, docs/target-app-parity.md.
2026-11-16 00:59:10 -08:00
dotCooCoo 05feb87685 Selection: a press on members picked with Group Selection drags only them
With objects inside a group selected (with Group Selection, for example),
a Selection tool press on one of them selected the whole outer group, so
a drag moved the group instead of the selected members, and the pointer
showed the arrow instead of the move pointer. A press on selected art
under the pointer now keeps the selection: the pointer shows the move
pointer, the drag moves the selected objects, and the anchor or edge
grabbed for snapping is taken from the selected art. A press on a member
that is not selected, or that has only some anchors selected, still
selects the outermost group.

Part of #8047
2026-11-15 23:59:05 -08:00
dotCooCoo 1957c18c02 Layers: dragging objects into an Intertwine group adds them to it
An Intertwine group's row in the Layers panel now takes dragged rows and
selected art inside it, as a group's row does, and an object dropped
beside one of its members joins the group too. The new member has no
arranged areas and is drawn in its row's order; the other members keep
theirs. Alt-drag adds copies. layer.move and node.move refuse an object
that is or holds an Intertwine group, a Repeat, a graph or a Live Paint
group with the reason Make gives. For such an object the panel shows no
inside box on the group's row and no drop line beside a member's row.

A member moved out of the group, by a drag, node.move or Send to Current
Layer, drops its arranged areas. A group left with one member is
replaced by that member, or becomes a plain group of it when the group
has an opacity, blending, appearance, mask, lock or hidden state of its
own; a group left with none is removed. Each move is one undo step.
2026-11-15 23:54:08 -08:00
dotCooCoo e0f880ab1a Arc: arcs follow the axes General › Constrain Angle turns
With a Constrain Angle other than 0° or a whole turn, an arc dragged out
with the Arc tool or placed from the Arc Segment Tool Options click dialog
is drawn along the turned x and y axes, with its bounding box turned. The
drag's box and Shift's equal lengths are measured along those axes, the
reference point stays at the drag's corner or the click, and F, C and
Up/Down keep the turn. At 0° and whole turns arcs are drawn as before.

shape.arc takes an optional rotation (degrees clockwise, about x1, y1 or
about the reference point x, y); a rotation that is not a number is an
error and adds nothing.
2026-11-15 23:50:29 -08:00
dotCooCoo 4200156914 Repeat: a selected Radial Repeat has handles for its instances and radius
With one radial repeat selected, the Selection tool shows a handle below
it and a handle on its circle between the first two instances. Dragging
the first one down adds an instance for every 16 px and dragging it up
removes them (1 to 1,000). Dragging the second one outward or inward
makes the radius larger or smaller (0 or more); only the part of the drag
along the line from the center counts. Each drag previews and commits
object.repeat.options as one undo step, Escape cancels it, and a drag
that ends where it began leaves no undo step. The handles hide with the
edges or the bounding box and for a locked or hidden repeat, and
bounding-box handles keep priority where they meet, as with Grid Repeat.
2026-11-15 23:18:17 -08:00
dotCooCoo b4e45fa93c Direct Selection: a marquee picks the points of a selected blend's spine
A Direct Selection marquee now picks the spine points inside it on the
topmost selected blend, and the picked points drag together as
Shift-clicked ones do. With Shift the marquee adds points or takes
picked ones away, and the blend stays selected. A plain marquee around
none of them drops the picks, and Escape during the marquee keeps them.
Unselected, locked and hidden blends are skipped.
2026-11-15 22:51:59 -08:00
FredApps 3e72836b00 Merge remote-tracking branch 'origin/main' into feat/cutover-remaining-codecs 2026-11-16 07:08:15 +01:00
dotCooCoo d998629b8d Eyedropper: Escape ends a gradient stop's or Key Color's pick and returns to the previous tool
Escape with a gradient stop's or Brush Options' Key Color eyedropper
armed now ends the pick without sampling and switches back to the tool
that armed it. The stop keeps its color. With Brush Options open, the
first Escape ends only the pick and the dialog stays open with its Key
Color; a new Escape cancels the dialog as before. The plain Eyedropper
keeps its Escape behavior, and a dropped touch leaves an armed pick
waiting for its click.

Fixes #8024
2026-11-15 22:02:30 -08:00
BFlat 9ed7881caa Merge pull request #8027 from dotCooCoo/feat/polygonal-lasso
Add Polygonal Lasso as an optional tool
2026-11-16 12:55:07 +07:00
FredApps bfe5c253f4 Merge remote-tracking branch 'origin/main' into feat/cutover-remaining-codecs
# Conflicts:
#	crates/engine/src/cmd/menucmds.rs
2026-11-16 06:35:17 +01:00
BFlat 8cf9cb9dca Merge pull request #8007 from dotCooCoo/feat/line-segment-common-tangent
Line Segment: a line from one curve to another snaps to their common tangent
2026-11-16 11:38:07 +07:00
BFlat a358793ef1 Merge pull request #8023 from ruchirguitar/feat/1636-key-anchor-align
feat(tools): key anchor point alignment (#1636)
2026-11-16 11:37:51 +07:00
dotCooCoo d40a58b6ca Polygonal Lasso: a dropped press after Backspace keeps earlier vertices
Backspace during a press removed the vertex the press had set but left the
press marked as owning a vertex, so a dropped press then removed the vertex
before it. Removing a vertex now clears that mark.
2026-11-15 20:00:55 -08:00
BFlat 3eb964bc1c Merge pull request #7948 from dotCooCoo/feat/crop-image-cropping-options
Crop Image: the Control bar sets the cropped image's resolution, reference point and linked size
2026-11-16 10:36:24 +07:00
BFlat 59771c6566 Merge pull request #8002 from dotCooCoo/fix/tool-overlays-long-drag-copies
Tool overlays: long drags keep their line in shared pieces instead of rebuilding it every frame
2026-11-16 10:35:26 +07:00
BFlat 6d6dd28fad Merge pull request #8018 from dotCooCoo/feat/ellipse-tangent-radius
Ellipse: a circle drawn from its center snaps its radius to touch a nearby path
2026-11-16 10:35:17 +07:00
dotCooCoo 763be536f5 Add Polygonal Lasso as an optional tool
Polygonal Lasso selects anchor points inside a loop of straight
segments. Each click sets a vertex, and a segment from the last vertex
follows the pointer. A double-click, Enter or a click on the first
vertex closes the loop. Backspace or Delete removes the last vertex,
Escape drops the loop, and Shift keeps the next segment to 45-degree
steps from the Constrain Angle. Shift held at the first click adds to
the selection and Alt subtracts from it, as with the Lasso. A loop of
fewer than three vertices selects nothing and records no undo step.

The tool is listed under its own heading in All Tools and under
Object › Plug-ins › Polygonal Lasso, with no default toolbar slot or
shortcut. On close it uses the Lasso's test for which anchor and mesh
points are inside (even-odd), now shared as lasso_select; the Lasso
itself behaves as before.

Touch mode now counts Polygonal Lasso and Enclosing Lasso as selection
tools, as it counts the Lasso, so the two-finger tap switches from them
to the drawing tool chosen last.

Fixes #4736
2026-11-15 19:17:09 -08:00
dotCooCoo 7ff63a6cd7 Merge main into feat/line-segment-common-tangent 2026-11-15 18:40:40 -08:00
BFlat 844f57a209 Merge pull request #7953 from dotCooCoo/feat/trim-hover-preview
Path Precision Tools: Trim at Crossings shows the stretch a click would remove
2026-11-16 09:32:44 +07:00
dotCooCoo fd55592167 Ellipse: a circle drawn from its center snaps its radius to touch a nearby path
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.
2026-11-15 18:23:55 -08:00
dotCooCoo 829e399da9 Crop Image: Apply leaves out a linked image's own resolution above 300 ppi
A turned linked image whose own resolution is above the 300 ppi it can
be cropped to is cropped as before, without ppi, instead of at 300 ppi.
2026-11-15 17:57:10 -08:00
dotCooCoo 2559d09158 Crop Image: a turned image is cropped at the resolution asked for
object.cropImage with ppi draws a turned or skewed image at that ppi
even when it is the image's own, instead of at the lower density of the
box around it, and a ppi over that whole box makes the new image too.
The raster size limit applies only when the crop is drawn or resampled,
so a straight cut at the image's own ppi is not refused.

The Crop Image tool's Apply sends a turned image's own resolution when
no other is set and it is within 1 to 2400 ppi, and crops over the
whole box when a resolution is chosen.
2026-11-15 17:51:37 -08:00
dotCooCoo 56d0feddf9 Tool overlays: pieces of a long drag's line meet halfway along a segment
Each piece of a long drag's line also held the first segment of the next
piece, so that segment was drawn twice, once by each piece. Where the
line is thin or partly covered at its edges, the doubled coverage drew a
darker stretch every 64 segments. A piece now ends halfway along the
segment after its last point, and the next piece starts there, so a wide
line still turns at the piece's last point as one line does.
2026-11-15 17:10:18 -08:00