Before, only a clipping mask itself was refused in isolation mode. A
clipping group or clipped layer that was isolated, or that held the
isolated group, still took the new path, where its mask could hide or
cut it. Now no area is found then, for the tool and for
shapeBuilder.copyRegion, as the documentation of the command states.
When the paths near a click have more segments than one map takes and
the largest are left out, a left-out path now stops the search only
when it crosses the area or comes within the gap of its outline, not
when it merely lies in the area's box: a dense path in the empty corner
of a filled L no longer keeps the L from being filled. A left-out
closed path in front that covers the area still decides where the new
path goes, so the new path is not hidden under it.
With Gap Detection off, a path counts as along the area only when an
anchor of the area's outline lies within 0.05 pt of it. Before, a long
path's own snap distance (1 pt for a 10,000 pt line) let a line that
neither touches nor covers the area take the new path onto its layer.
A press while a hover search runs on another thread waits for that
search only, and no longer starts and waits for a search at the
position the pointer passed on the way.
docs/mcp.md now says that an edit made by another command during a
drag ends the path whether it changes the path or other art, and that
with the realTimeDrawing preference off such a press adds no piece
while the edit stays. A flip or size change made during a drag is part
of that piece's undo step; one made between presses is its own step.
The paragraph is wrapped at the file's width again.
The progress line lists a dragged piece ending at the release point and
C, [ and ] changing the arc being dragged with VectorCraft's own rules.
The bracket test checks that the arc being dragged is drawn again, the
drag test checks that the next click starts a new path, and new tests
cover an edit to other art during a click and an edit during a drag
with realTimeDrawing off. The tool no longer keeps the path as it was
before a press once the press ends.
A selected Live Paint group left with only its hidden source paths is still a selection, so appearance.addFill and appearance.addStroke with target contents return without a change instead of reporting an empty selection. An empty selection is still refused.
With a group or layer isolated, the tool's hover and click and
shapeBuilder.copyRegion take only the paths inside it, and the new path
goes inside it, directly above the object in it that holds the
front-most path along the area. Before, a click on art outside the
isolated group added a path there.
No area is found while the isolated object is a path or compound path,
a group that makes, moves or combines its own art (Live Paint, compound
shapes, Shaper groups, graphs, Image Trace results, dimensions, flares,
Objects on Path), a layer or group with a live effect, a clipping mask,
or an object inside one of these or inside an envelope. An isolated
object that no longer exists counts as no isolation, for the tool as
for the command.
A contents edit of a Live Paint group that holds only hidden source paths
counted as an empty selection and changed the settings for new art. The
reversed Eyedropper now tries each selected object in order, so an empty
group passes to the next group and the whole group is sampled. A pick whose
source is a Live Paint group no longer paints that group's own faces and
edges.
A dragged piece now ends where the press is let go, also when the
pointer moved after the last drag event, and a press let go a drag's
distance away with no drag in between places the piece there.
An edit made to the path by another command during a press (a point
moved, its stroke changed) ends the path: the next drag no longer
previews the stored path over the edit, and the press keeps the
document as it is. An edit made to other art during a drag stays too,
and the piece stays as last shown.
C and the bracket keys change the sharp-corner arc being dragged, inside
the press's one undo step. Typed brackets now reach the Quick Pen while
a press is under way.
With Align New Objects to Pixel Grid on, the tool goes on drawing the
same path: it compares the path with what the document held after its
own last edit, and each piece is drawn on the points the path already
has, so earlier points keep their place on the grid.
Follows #8690.
Follows #8685. The Eyedropper (appearance.copyFrom) onto a whole
selected Live Paint group, or reversed onto a clicked one, wrote the
picked appearance to every face, every edge and the hidden source
paths. It now gives the fill attributes to the faces and the stroke
attributes to the edges, and the source paths keep their paint. A
whole-appearance pick gives each face every picked fill row and each
edge every picked stroke row, and their other rows keep their order.
With append, the faces and edges take the picked rows but not the
picked object effects. A whole group picked up as the source gives
its first face's fills with its first edge's strokes above them, and
the group's own opacity, blend mode and effects.
Appearance edits with target "contents" also reached the source paths
and the parts of the other kind. The source paths are now left out of
a Live Paint group's contents. appearance.addFill adds a fill to the
faces only, and appearance.addStroke adds a stroke to the edges only.
A fill or stroke edit of the contents with an item (stroke.set,
paint.invert, paint.complement, gradient edits and
object.setOverprint) goes to the parts of its kind. Overprint Fill
and Overprint Stroke on a whole group also go to the faces and the
edges.
The Fill proxy and the Stroke panel showed a face's or edge's own
paint when it was selected before its group. A part selected with its
group, or with a group that holds its Live Paint group, now counts
with the group, whatever the selection order.
Docs: docs/mcp.md, params text, docs/target-app-parity.md.
The proxies and the paint commands that name no objects stood for the Live
Paint Bucket's colors only while the bucket itself was the active tool. Two
tools that work for the bucket lost them:
- The Gradient panel's eyedropper on a stop of the bucket's gradient: the
stop was deselected as soon as the Eyedropper became active, and the click
then copied the clicked object's appearance onto the selection.
- A Cmd-click with the bucket, which the Selection tool takes: with New Art
Has Basic Appearance off, the new selection's appearance replaced the
bucket's fill and stroke.
Session::bucket_paints() now answers for the bucket, the Eyedropper armed
for a stop of its gradient (Tool::returns_to), the Selection tool lent to
either, and the actions of the Eyedropper's click that end by switching back
to the bucket. Every check that compared the tool id with the bucket's now
uses it: the proxies, the Stroke panel, the selected stop's owner, new-art
inheritance, previews and their cancel.
- The armed pick ends without sampling, and switches back to the bucket,
when its stop is no longer selected or no longer exists.
- Clicking the panel's eyedropper again while a pick is armed keeps the tool
the pick returns to.
- The Color panel's cached mixed state is keyed on bucket_paints().
- A Brush Options Key Color pick or an Image Trace ignored-color pick armed
from the bucket is not a stop pick.
Tests: live_paint_bucket_keeps_its_colors_through_the_stop_eyedropper_and_a_cmd_click
(engine), the stop option test (tools), the stop eyedropper and mixed
selection tests (ui-egui). Docs: docs/mcp.md, the Live Paint Bucket
paragraph.
Selecting the Quick Pen tool shows a toolbar on the canvas. Straight
Line, Continuous Arc and Sharp Corner Arc set the tool's action, Flip
Arc flips the last sharp-corner arc as C does, and More Options has
Hide Toolbar, Pin Toolbar Position and Reset Toolbar Position. The
handle at its left end drags it.
While a path is being drawn, the toolbar sits beside the path's last
point, 24 screen points off it on the side the path heads toward, or on
the other side where that side runs off the canvas. With no path being
drawn, it sits at the bottom center of the canvas. A drag's offset
applies in the kind of place it was made in (beside the drawing or
resting), and not where it would cover the path's last point. Pinned,
it stays at its place in the canvas window. It hides while a press
drags on the canvas, and its controls wrap in a canvas pane narrower
than the toolbar. Hide Toolbar hides it until the tool is selected
again; Window › Quick Pen Toolbar also shows or hides it.
- Tool::drawing_end and Session::tool_drawing_end give the point the
path goes on from and the direction it arrives in.
- New desktop commands: window.quickPenToolbar, window.quickPenToolbar.pin,
window.quickPenToolbar.reset and tool.quickPen.flipArc; ui.inspect
reports quickPenToolbar.
- Labels in every catalog.
Docs: docs/mcp.md, docs/control-protocol.md, ROADMAP, docs/ui-parity.md,
docs/target-app-parity.md. Part of #2660.