Commit Graph
234 Commits
Author SHA1 Message Date
BFlat a54d28887c Merge pull request #7718 from dotCooCoo/feat/color-wheel-contrast
Color Wheel: Show Contrast reports the WCAG contrast against the color behind the selection
2026-11-26 08:51:15 +07:00
dotCooCoo 1d6f0340e2 Merge main into feat/color-wheel-contrast
The contrast row, its menu rows and its tests move to the craft UI framework,
as main's Color Wheel panel now uses it:

- The row is a Row with a Swatch named Background (a color well whose value is
  the background's hex value) and Text for the ratio and the AA and AAA
  results, each with the WCAG minimums as its tooltip.
- Show Contrast, Contrast For and Contrast Background are rows of the panel
  menu's items (ui.colorWheel.contrast, contrastFor.<id>,
  contrastBackground.below and contrastBackground.current), after Show
  Opacity. Current Color is gray, and its row answers an error, while the
  active proxy has no solid color.
- The kept background and ratio answer are fields of WheelUi instead of panel
  state. The answer's key also holds whether the Live Paint Bucket paints,
  which changes the proxies' paint without a document revision.
- The row's tests run in the panel's Fixture by accessible name; the drag test
  runs an interaction whose previews set the fill, as the Show Document Colors
  drag test does.
- The settings lists in the params text, docs/mcp.md and the tests take both
  opacity and the contrast keys.
2026-11-25 16:36:08 -08:00
dotCooCoo 36d3cd0a15 Layers: Shift-click in the selection column selects the art of a range of rows
After a selection square is clicked, Shift-clicking another selects the
art of every row listed from the last square clicked to this one, down or
up and across sublayers and groups. Shift+Ctrl/Cmd-click adds that art to
the selection. Hidden and locked rows and art outside the isolated group
are left out, and a range does not move where the next Shift-click
starts. Before any square is clicked, Shift-click still adds one row's
art or takes it out. Ctrl/Cmd-click on a square now does the same; it
used to select the row's art alone, as a plain click does.

The panel menu's Select Art of Highlighted Rows selects the art of the
highlighted rows by the same rules.

- layer.selectAll takes {range: [id...], add?}, gathered with
  Selection::target_range as the target circles' ranges are.
- layer.selectHighlighted {add?} is new. Neither is an undo step, and
  the highlighted rows stay.
- Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-25 11:38:03 -08:00
BFlat 617f5d6d71 Merge pull request #9066 from dotCooCoo/feat/inscribed-circle
Path Precision Tools: Add Inscribed Circle draws the largest circle inside a path
2026-11-25 11:27:35 +07:00
dotCooCoo 80f96d11f9 Path Precision Tools: Add Inscribed Circle draws the largest circle inside a path
Object › Plug-ins › Path Precision Tools › Add Inscribed Circle
(`addon.pathtools.inscribedCircle`) draws the largest live circle inside
each selected closed path or compound path, centered on its pole of
inaccessibility. Part of #6966.

- The outline is resolved under its fill rule into outer contours and
  holes, so overlapping subpaths count as the area they fill and holes
  bound the circle down to 1e-6 pt wide, the path operations'
  resolution. Square cells are searched best
  first, and the radius is measured from the center to the curves:
  within 0.02 pt of the largest, or a thousandth of the narrower side
  for a shape less than 10 pt across.
- The circle is drawn up to 0.03% smaller, by as much as its four curves
  reach past a true circle, so it stays inside where it touches.
- Open paths, other objects, shapes that fill no area, and outlines past
  262,144 flattened pieces or the search's work limit are errors that
  leave the document unchanged. The first cells are sized to the work
  limit.
- The circles get the current paint, go on top of the current layer or
  the isolated group, and are one undo step.
- Docs: docs/mcp.md, docs/target-app-parity.md, docs/ui-parity.md,
  ROADMAP.
2026-11-21 18:49:56 -08:00
dotCooCoo 3d652613c9 Merge main into feat/quick-pen-length-handles 2026-11-20 05:40:04 -08:00
dotCooCoo 4aa133a285 Merge main into feat/color-wheel-contrast 2026-11-19 16:36:02 -08:00
dotCooCoo 853c85ae4f Merge main into feat/quick-pen-length-handles 2026-11-19 15:15:26 -08:00
bflatastic 0810ac5b87 Merge remote-tracking branch 'origin/main' into fix/8001
# Conflicts:
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/menus/ui_commands.rs
#	docs/roadmap.md
2026-11-20 05:47:07 +07:00
BFlat 684b1bf48d Merge pull request #7641 from dotCooCoo/feat/color-wheel-document-colors
Color Wheel: Show Document Colors lists the colors the art uses
2026-11-20 05:32:27 +07:00
dotCooCoo f9367c4c10 Pen: Quick Pen handles at a path's ends make its line or arc longer or shorter
The Quick Pen tool shows a handle beyond the start and the end of the
path being drawn, or, while none is, of the selected path, where that
end is a straight line or a circular arc. Dragging the handle changes
the length of the line or arc there, as the Quick Pen help page
describes:
https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/draw-with-quick-pen-tool.html

- A line keeps its other point and its direction. An arc keeps its
  other point, its circle and the way it turns; its sweep follows the
  pointer around the circle, up to 359 degrees. A drag stops where the
  path would reach past the canvas.
- Each drag is one undo step, and Escape during the drag takes it back.
  The path being drawn goes on from the new end. The pieces the drag
  does not change stay pieces, so C and [ ] still change the last one,
  and a dragged last arc keeps at least 1 degree.
- A click on a handle that does not drag adds a point, closes the path
  or starts one, as a click anywhere else does.
- path.quickPenLength {id, subpath?, end?, length} sets the same length
  for agents and scripts (params text and docs/mcp.md).

The handle's place 20 screen points beyond the end, the 359 degree
limit, the 1 degree minimum, Escape during a drag, the handles on a
selected path and the dragged end not snapping to Smart Guides are
VectorCraft's own rules.

Part of #2660 (reported by earlvanze).
2026-11-19 13:59:39 -08:00
dotCooCoo b3a4ec795a Merge main into feat/color-wheel-contrast 2026-11-19 13:24:43 -08:00
dotCooCoo 5d489b511a Merge main into feat/color-wheel-contrast 2026-11-19 11:17:08 -08:00
dotCooCoo 856e61afb4 Merge main into feat/3d-custom-bevels 2026-11-19 11:13:58 -08:00
dotCooCoo eebd3960be Merge main into feat/color-wheel-document-colors 2026-11-19 10:36:07 -08:00
dotCooCoo 40430c3b72 Merge main into feat/fill-area-tool 2026-11-19 07:35:20 -08:00
bflatastic fb96dfc5a0 Merge main into #8455
# Conflicts:
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/id.tsv
2026-11-19 22:21:39 +07:00
dotCooCoo 19a8d53e58 Merge main into feat/fill-area-tool 2026-11-19 06:56:49 -08:00
dotCooCoo d056974654 Merge main into feat/color-wheel-contrast 2026-11-19 06:46:07 -08:00
dotCooCoo c5891dbb06 Merge main into feat/color-wheel-document-colors 2026-11-19 06:11:21 -08:00
dotCooCoo 1c841c481e Merge main into feat/color-wheel-contrast 2026-11-19 05:22:26 -08:00
dotCooCoo 5d458d3142 Merge main into feat/arc-by-points 2026-11-19 05:12:59 -08:00
dotCooCoo 63d87b6d3e Merge main into feat/swatches-alt-drag-pattern-replace 2026-11-19 05:05:44 -08:00
dotCooCoo 3fb77f58bb Merge main into feat/3d-custom-bevels 2026-11-19 04:54:39 -08:00
dotCooCoo df614fb80c Pen: Quick Pen tool draws lines, continuous arcs and sharp-corner arcs
A new tool in the Pen tool's group, chosen with Alt+P (Option+P on
macOS), draws paths of straight lines and circular arcs, as the Quick
Pen help pages describe:
https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/draw-with-quick-pen-tool.html
https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/quick-pen-tool-keyboard-shortcuts.html

- A click sets the start point; each click, or a press dragged to where
  it is let go, adds a line, a continuous arc (it leaves the last point
  in the path's direction) or a sharp-corner arc, as the tool's action
  says. Each piece is one undo step.
- Alt (Option) pressed and let go on its own switches to the next
  action. C flips the last sharp-corner arc to the other side of its
  chord, and [ and ] make the arc size 15 degrees smaller or larger.
- A click on the first point closes the path, a click on an end of an
  open path continues it, and Escape or Enter ends it. An edit made to
  the path from outside the tool also ends it.
- path.quickPen {start | id, subpath?, keep?, pieces, closed?} draws
  the same path for agents and scripts. The action and arc size are
  kept with the preferences.

The 180 degree default arc size, its 15 degree steps, the side an arc
bulges to and Enter ending the path are VectorCraft's own rules.

Part of #2660 (reported by earlvanze). Not yet: the on-canvas toolbar,
dragging a path's ends to change its length, Ctrl+scroll for the arc
size, and editing and deleting with the tool.
2026-11-19 01:29:06 -08:00
BFlat bccb824be6 Merge pull request #8619 from dotCooCoo/feat/retype-matching-fonts
Retype: the Retype panel lists the fonts that match outlined text
2026-11-19 15:18:29 +07:00
BFlat 7784d2f1a5 Merge pull request #8528 from dotCooCoo/feat/curvature-circle
Shapes: the Curvature Circle tool draws the circle a path bends along
2026-11-19 15:01:28 +07:00
BFlat de32f5cf96 Merge pull request #8525 from dotCooCoo/feat/enclosing-shapes
Path Precision Tools: Add Bounding Rectangle and Add Bounding Circle enclose the selection
2026-11-19 15:01:00 +07:00
BFlat e78c20a543 Merge pull request #8456 from dotCooCoo/feat/swatches-color-group-options
Swatches: Color Group Options renames the selected color group
2026-11-19 14:58:45 +07:00
BFlat 8e55ffdddf Merge pull request #7229 from dotCooCoo/feat/kinsoku-sets
Type: Kinsoku Shori sets can be created, edited and chosen per paragraph
2026-11-19 14:54:38 +07:00
dotCooCoo db1442db8a Merge main into feat/3d-custom-bevels 2026-11-18 23:53:53 -08:00
BFlat 408c94c0ed Merge pull request #7701 from dotCooCoo/feat/symbolism-options-method
Symbols: Symbolism Tools Options gain Method, pen pressure and the Sprayer and Sizer options
2026-11-19 14:52:13 +07:00
dotCooCoo b1790aeb8d Merge main into feat/swatches-alt-drag-pattern-replace 2026-11-18 18:54:44 -08:00
dotCooCoo 7d44690b52 Merge main into feat/retype-matching-fonts 2026-11-18 18:52:29 -08:00
dotCooCoo d5a69ce493 Merge main into feat/fill-area-tool 2026-11-18 17:39:27 -08:00
dotCooCoo f5b2dfa8b4 Merge main into feat/curvature-circle 2026-11-18 17:15:45 -08:00
dotCooCoo 32e7344cb9 Merge main into feat/arc-by-points 2026-11-18 17:04:49 -08:00
dotCooCoo 1800bb9628 Merge main into feat/color-wheel-contrast 2026-11-18 13:56:53 -08:00
dotCooCoo f918e29044 Merge main into feat/color-wheel-document-colors 2026-11-18 13:36:14 -08:00
dotCooCoo 247bfeb11d Merge main into feat/symbolism-options-method 2026-11-18 13:32:30 -08:00
dotCooCoo 13d944539b Merge main into feat/3d-classic-map-art 2026-11-18 13:31:00 -08:00
dotCooCoo 1fb7a864de Merge main into feat/kinsoku-sets 2026-11-18 13:18:16 -08:00
dotCooCoo 7c4cfbf82f Merge main into feat/swatches-color-group-options 2026-11-18 13:17:44 -08:00
dotCooCoo ca6871025a Merge main into feat/enclosing-shapes 2026-11-18 12:50:45 -08:00
dotCooCoo 734582bd81 Retype: the Retype panel lists the fonts that match outlined text
Window › Retype shows a panel that lists the fonts whose glyphs the
selected outlined text exactly matches. Find Matching Fonts lists ten,
ranked by how many shapes each matches and then by how closely, and
Find more font matches adds the next five from the same search. Each
row shows a sample in the font, at the size the panel menu sets (Small,
Medium, Large) and with the text typed in the panel. A click on a row
sets the font on the selected live type. Reset Retype Panel clears the
list.

- type.retypeFonts {count?} returns the ranked fonts without changing
  the document. It compares shapes with the glyphs of up to 96 loaded
  fonts, those of the document's live type first, by type.retype's
  matching. A shape counts once for each font it fits. Of two loaded
  versions of a font, only the version its name gives is compared.
- RetypeIndex::all_matches returns every fit of a shape, so fonts past
  the first 16 fits are ranked too.
- retype.find, retype.list, retype.preview and retype.reset drive the
  panel.
- Rows for the panel's labels and the commands' errors in every
  complete catalog. The Retype row also translates the Type › Retype
  menu item.

Docs: docs/mcp.md (Retype panel), docs/target-app-parity.md,
docs/ui-parity.md, docs/gaps.md, docs/type-parity.md.

Part of #4934. Builds on #8441.
2026-11-18 12:35:02 -08:00
dotCooCoo 3c26aadcc4 Merge main into feat/swatches-color-group-options 2026-11-18 10:30:36 -08:00
dotCooCoo 275dff5d31 Merge main into feat/arc-by-points 2026-11-18 10:30:34 -08:00
dotCooCoo fe17b6ebee Merge main into feat/kinsoku-sets 2026-11-18 10:26:50 -08:00
bflatastic 86eb9aa115 Merge main into #7867 2026-11-19 01:19:48 +07:00
BFlat 5537e02cb0 Merge pull request #8403 from dotCooCoo/feat/toast-messages
Messages: app.toast shows a message over the window without stopping work
2026-11-19 00:41:29 +07:00