Files
vectorcraft/crates
dotCooCoo 87be91d7fa Part of #6966: Path Precision Tools draws a bounding rectangle or circle around the selection
Object › Plug-ins › Path Precision Tools › Add Bounding Rectangle runs
addon.pathtools.boundingRectangle, which draws a live rectangle on the
selection's geometric bounding box, strokes left out. Add Bounding
Circle runs addon.pathtools.boundingCircle, which draws the smallest
live circle that holds the outlines of the selected objects. Paths and
compound paths count by their curves, clip groups and clipping
sublayers by their clipping paths, other sublayers by their shown
objects, images by their corners, and type and other objects by the
corners of their bounding box. Each curve is split until its pieces lie
within 0.01 pt of their chords (1,024 pieces at most, after which a
piece counts by its control points), and the circle's radius is 0.01 pt
larger than the smallest circle around those points, so it holds the
curves.

`offset` adds space around the objects, and `each` draws one shape
around each selected object instead of one around them all. Objects
with no outline, such as an empty group, and shapes with no size (the
rectangle around a straight horizontal line, the circle around a single
point) are not drawn; with `each`, `skipped` counts them.

The shapes get the current paint and go on top of the current layer or
of the isolated group, as Tangent Circle's circles do; inside an
isolated compound path they go beside it. The new shapes are selected,
and one undo removes them all.

The smallest circle is computed in the geometry crate
(shapes::enclosing_circle) from the convex hull of the points with a
fixed shuffle, relative to one of the points so small art far from the
origin keeps its exact circle. While the command gathers points from a
large selection, it keeps only the corners of their convex hull, which
bounds the memory it takes.

Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md,
ROADMAP. Menu labels in all 28 catalogs and messages in the 24
catalogs with complete messages.
2026-11-17 19:56:57 -08:00
..
…