The parity doc, docs/dimensions.md and two comments said the box shown
while hovering a path with Alt held goes through the path's outermost
points. It follows the box the strokes paint, which reaches 0.5 pt past
those points for a centered 1 pt stroke.
With Alt held, the Dimension tool's box over a path and the dimension of
the whole path it places now reach the outside of the path's strokes
whether Use Preview Bounds is on or off. Before, they did so only with
Use Preview Bounds on, and with it off they went through the outermost
points of the path.
Every dimension of a whole path the tool places now records
`"preview": true` in its extent source. Dimensions saved without it keep
measuring between the outermost points, and `dimension.create` still
defaults `preview` to false.
Dragging a point of a selected path with the Curvature tool gave the
point the handles of the circle through it and its neighbors, while the
neighbors kept their own tangents. Stretching a circle's top point far up
made those handles reach well past the circle's sides, so the shape swung
out wider than the circle before it narrowed toward the point.
Each handle of the moved point is now no longer than the handle of the
circular arc tangent to it and to the neighbor's handle on that segment.
Where the neighbor is on the circle the tool follows, that arc is the
circle and the handles do not change. The shortening fades out as the
two handle lines meet near the neighbor or turn parallel, so the handles
change continuously during a drag.
Leaving the Shape Builder saved every one of its options, so preferences
from earlier versions hold pickColorFrom "artwork" whether or not it was
picked, and kept the old default after Color Swatches became the default.
The preferences now carry toolSettingsVersion, written as 1 once a tool
setting is stored. Applying preferences without it changes a saved
Shape Builder pickColorFrom "artwork" to "swatches" and writes the
version, so Artwork picked after that is kept at the next launch. A
saved "swatches" and preferences without a saved pickColorFrom are
unchanged.
Docs: docs/mcp.md and the tool options params text.
While the Shape Builder is active, a fill picked from a swatch or a color
changes only the current fill, and the selected art keeps its own. With
Pick Color From set to Artwork, a merge takes the look of the art, so the
picked color never reached the merged shape and the tool looked as if it
could not fill.
Pick Color From now defaults to Color Swatches: a merge fills with the
picked color, and the Left and Right arrow keys step through the color
swatches. A pickColorFrom saved with the preferences is kept, so a saved
Artwork stays Artwork; preferences saved without one take Color Swatches.
The shapeBuilder.merge command still defaults to artwork when its
pickColorFrom is left out.
Docs: docs/mcp.md and the tool options params text.
With one object selected and the Selection tool active, or while Global
Edit is on, every frame copied each highlighted outline out of the kept
list and made one overlay per object, which the canvas flattened and
stroked again. With 10,000 matching objects that was most of a 27 ms
frame.
highlights and similar now return the kept outlines as a shared
Highlights, grouped by layer color with a revision that changes only when
the outlines are found again. The session sends one Overlay::Outlines per
color, and the canvas shows it as a SelectionOutline keyed by that
revision, so the lines are stroked again only when the outlines or the
view change.
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.