With Use Preview Bounds on, dragging a bounding-box handle with the
Selection tool, a shape tool or Free Transform lined up the outside of
the selection's stroke with the other art's geometric bounds, which
Smart Guides use for the targets. A stroked object then stopped half a
stroke short of the edge it showed a guide for, the same mismatch moves
had before.
- The handle still drags the visual box, and the edges of the
selection's geometric bounds line up with the targets and with even
spacing. The margins between the two boxes keep their size unless
Scale Strokes & Effects is on, when they scale with the box. Snap to
Grid and Snap to Pixel still use the bounds the box shows, and the
Slice Selection tool is unchanged.
- Tool contexts carry the Scale Strokes & Effects preference.
- New tests drag the right-middle handle of a rectangle with a 20 pt
stroke toward another rectangle with the Selection tool and with Free
Transform.
Part of #6436
- Every craft-libs crate moves from 610c86792a to f762f98a (craft-libs
main), which adds the fixed corner-widget inset, the ruler corner's
plus, popover padding, and a native window's move recorded once.
- The status bar's Zoom field uses ZoomField::status_bar, so it draws
without an outline in the status bar's look.
- The Rotate View compass is placed in CanvasScrollbars::clear_of
instead of a copy of the scroll bars' sizes.
- The tools' corner-widget inset is public, and a test holds it equal
to CornerWidgets::INSET, the inset the canvas draws the widgets at.
With Use Preview Bounds on, a move lined up the outside of the selection's
stroke with the other art's geometric bounds, which Smart Guides always
use for the targets. A stroked object then stopped half a stroke short of
the edge it showed a guide for, or overlapped it by that much. The moved
selection's geometric bounds now line up with the targets' geometric
bounds whatever Use Preview Bounds says. Snap to Grid, Snap to Pixel and
the ruler guides still use the bounds the bounding box shows.
Part of #6436.
Each preview runs on the document as the interaction began, and spine edits
pin the spine from that document (live::pin_spine). Shift now measures the
45 degree steps from that anchor, so the handles the command writes stay on
the steps after a previewed move. docs/mcp.md says when pointer_gesture's
Shift moves the anchor and when it constrains the handles.
addon.pathtools.shape.create and addon.pathtools.shape.set take sliceStart
and sliceEnd, in degrees clockwise from the shape's top (0 to 360). The
shape is cut from the start clockwise to the end and back through its
center; a ring's slice runs back along its hole. The angles are measured
as if the shape were as high as it is wide, so 45 degrees is a
rectangle's top right corner and a slice keeps its place when the shape
is stretched along its own axes. The same start and end leave the whole
shape, rounded corners are rounded before the cut, and the arrow, cross,
heart, gear and speech bubble ignore both values. A value outside 0 to
360 is refused. The values are kept with the shape's other numbers and
with the Parametric Shape Tool's options.
A click on a path's direction handle picks it, a Shift-click adds it to
the picked handles or takes it away, and Escape lets them go. Picked
handles show ringed. Dragging one of two or more picked handles moves
all of them, on one path or several, by the same offset in one undo
step. A Shift-press on a handle reshapes only once the pointer has moved
3 pixels, so a Shift-click leaves the handle where it is.
The new command path.moveHandles does the move: an anchor with one
handle listed places it as path.setHandle does, an anchor with both
listed moves both and becomes a corner, and independent (Alt during the
drag) makes every listed handle's anchor a corner.
Docs: docs/mcp.md, docs/target-app-parity.md.
The Three-Point Arc tool gets two options in its Tool Options:
- Join to Open Path Ends (`join`, off by default; J switches it while
the ends are placed): an end placed within 5 screen points of an end
of an open path lands on it, and the arc is joined to that path. The
path keeps its look and, when one end joins, its direction. With both
ends on open path ends the two paths become one, or the path closes
when both are its own ends. It is one undo step.
- Snap Where the Arc Continues a Path (`tangentSnap`, on by default): in
direction mode, when the direction line starts on an end of an open
path, a third point near the line along which the arc carries the
path on, the same way or turned back, snaps onto it, and the tool
shows the line dashed.
`shape.threePointArc` takes `join: true` for the same join; it picks a
path in the selection first, then the front one, and in isolation mode
only paths inside the isolated group.
The Polygonal Lasso Tool joins the Lasso group in both shipped
toolbars, after the Enclosing Lasso, and stays in Object › Plug-ins ›
Polygonal Lasso. The All Tools drawer lists it once, under Select,
instead of under a heading of its own, and Edit › Keyboard Shortcuts ›
Tools lists it once. It has no default shortcut, and the Lasso keeps Q.
A toolbar the user already edited keeps its saved layout; Reset Toolbar
adds the tool. A Lasso group torn off the Tools panel shows it too.
The Enclosing Lasso moved the same way in #8333.
The selected paths a hover tries were listed group by group in selection
order, while a press tries them topmost first across the document. With two
selected groups whose anchors fall within reach, hover marked the back
group's anchor and a press took the front one. The list is now sorted in
paint order, topmost first, with a Shaper Group's original shapes included.
With a group selected, a Direct Selection Shift-click on the fill of one of its paths ran
select.toggle on the path, which added the path beside the group. The path stayed selected
through the group, and so did everything else in it.
The new select.remove command takes each target out of the selection. For a target inside a
selected group or compound path, Selection::expand_to first selects the objects inside the
outermost selected one on the way down to the target, in its place, so the rest of the group
stays selected. Hidden and locked objects and a Shaper Group's original shapes are left out. Direct Selection's Shift-click on such a path runs select.remove, and a
Shift-drag from there moves nothing. A Shift-click on one of the path's anchors runs
select.anchors with mode toggle, which now opens the group the same way and deselects only that
anchor. A path selected beside the group around it, as Group Selection leaves it, is taken out
with the group.
No public documentation describes this case, so this is VectorCraft's own rule.
With Use Preview Bounds on, the box Alt shows over a path and the linear
dimension of the whole path it places now reach the outside of the
path's strokes, the width or height W and H show, instead of the
outermost anchors.
- The extent source records `preview: true` (omitted when false), so the
dimension measures to the outside of the strokes again after later
edits, a new stroke weight included. Files without it measure as
before.
- A member of a compound path is measured with the compound path's
strokes and only the arrowheads the compound path draws on that member.
Releasing the compound path or changing which member holds the first
or last subpath measures it again.
- The dimension line stays outside the stroke.
- `dimension.create` takes `preview` on the extent source; a value other
than true or false is an error.
Geometry effects are not included.
On Windows the Paintbrush opens the Wintab context only while its brush
varies with the wheel. The check counted Calligraphic, Scatter and Art
brushes and left out Pattern brushes, so a Pattern brush whose Scale is on
Stylus Wheel recorded no wheel there. A Pattern brush now counts when its
scale is on Stylus Wheel and its two scales differ.
With a group selected, Direct Selection treated a click on one of its
paths as a click on an unselected path: it selected that path alone, so
a drag moved only that path. The tools checked whether the path itself
was in the selection and ignored a selected group around it.
A path inside a selected object now counts as selected whole:
- A click on its fill keeps the group selected, and a drag from its
fill or one of its anchors moves the group whole.
- A click on one of its anchors or segments selects that anchor or
segment alone, as for a selected path.
- Its anchors show the selected-anchor cursor and highlight, and an
object above the group does not take a press on one.
- Group Selection adds the group above the outermost selected one, and
keeps the selection when that is the top group.
This applies to the Cmd/Ctrl press the Selection tool lends Direct
Selection too.
With Use Preview Bounds on, a Linear point landed only on the four corners
of the preview bounds of a path or compound path. A group's own stroke or
effects and stroked type widen the bounds that W and H show, but gave no
corner to pick, and a click beside a stroked edge snapped to the stroke's
centerline.
- Stroked type, and a group or layer with fills, strokes or effects of
its own, now give the corners of their preview bounds. A group's corner
is held against the member path whose own box reaches nearest to it. A
point on type has no link and stays where it was picked. A group or
layer holding dimension artwork gives no corner, since its bounds take
in the dimensions.
- A click that no anchor, corner, line end, guide, grid or pixel snapping
places lands on the nearest point of an edge of the preview bounds
within 8 pixels when no segment or dimension line is nearer. The point
is held against the path holding the edge's nearer corner.
- Group members count against the same per-move member work as compound
paths; a group holding more than one move may read is not read again
for that revision.
Docs: docs/dimensions.md, docs/target-app-parity.md.