Commit Graph
7103 Commits
Author SHA1 Message Date
dotCooCoo 667ff774ad Shapes: the Curvature Circle tool passes over the circles it drew
After a click, the circle the tool drew is selected and on top, so the
next hover or click near the point it touches snapped to that circle
instead of the path. The pointer now passes over the circles the tool
drew until an edit, Undo or Redo is made outside the tool.

- An anchor marked smooth is a corner when its handles turn by 90° or
  more; the params text and docs/mcp.md now say so instead of "turn
  back the way they came".
- Tests cover a second click after a draw, in the tool and through the
  session, and a marked-smooth anchor with square handles.
2026-11-17 22:47:24 -08:00
dotCooCoo a64ceebccf Shapes: the Curvature Circle tool shows "Corner" at a corner anchor
At a corner anchor the tool now shows "Corner" instead of "Cusp", and
`shape.curvatureCircle` returns "the path has a corner there, so it has
no single curvature".

- A closed subpath whose only segment with length loops back to its
  start (a teardrop) has a corner at its tip, from both ends of the loop.
- An anchor marked smooth whose out handle points back along its in
  handle is a corner.
- The guide error and the new corner error have rows in the 24 catalogs
  that translate every message.
- A test covers a Smart Guides snapping tolerance larger than 5 screen
  points, with Smart Guides off and on.
2026-11-17 21:34:11 -08:00
dotCooCoo de29baab11 Shapes: the Curvature Circle tool draws the circle a path bends along
The Curvature Circle tool, after the Circle tool in the Ellipse tool's
flyout, draws the circle that touches a path at a point and bends as the
path bends there, with shape.curvatureCircle. The pointer snaps to the
nearest path that is not a guide within 5 screen points, or within the
Smart Guides snapping tolerance when that is larger, and the tool shows
the circle as a dashed outline (solid once it is more than 50,000 screen
points around), its center, a line from the center to the point it
touches and, with Measurement Labels on, its radius. A click draws the
circle in one undo step, on the side the path bends toward; Shift held at
the press puts it on the other side. A press dragged 2 screen points or
more, or canceled with Escape, draws nothing.

A segment that is the usual cubic of a circular arc of 90° or less gives
a circle with the arc's own radius, shown with an asterisk, so a click on
a circle drawn with the Ellipse tool draws that circle. On a straight
segment, at a cusp or a corner anchor, or where the circle would reach
past the canvas, the pointer shows "Straight segment", "Cusp" or "Circle
too large", and a click draws nothing. An anchor is a corner when the
segments meet there at more than half a degree and it is not marked
smooth; segments of no length between them are passed over. The tool's
icon is new and drawn for VectorCraft.

shape.curvatureCircle takes the path, subpath, segment, t and convex, and
returns the circle's center and radius and whether the radius is an
arc's own. A guide is refused.

draw2::candidate_paths skips the selected paths with a hash set, so it
takes time linear in the number of paths on each pointer move.

Part of #7178.
2026-11-17 20:18:05 -08:00
dotCooCoo e6ec393062 Shapes: the Circle tool draws a circle through two or three points
The Circle tool, in the Ellipse tool's flyout, draws a circle with
shape.circleThroughPoints. A drag from one point to another, or a click
on each, draws the circle with the two points as the ends of a diameter.
A click on a first point, then a press on a second point dragged to a
third, draws the circle through the three. Shift keeps the second point
at 45° steps from the first. For a circle on two points, Alt rounds the
diameter to the nearest ruler tick at the current zoom in the General
unit. Each point snaps to Smart Guides. Until the release the tool shows
the circle as a dashed outline (solid once it is more than 50,000 screen
points around), a cross at its center, a line from the center to each
point and, with Measurement Labels on, the diameter by the pointer.
Three different points on one line, or a circle past the canvas, show
"Circle too large" by the pointer instead, and the release draws
nothing. Escape, a dropped press, and an edit, Undo or Redo made outside
the tool drop the first point. A second press within 3 screen points of
the first point, or one that snaps to it, places nothing when let go
there, and draws the circle on the diameter it drags out when dragged.
Each circle is one undo step. The tool's icon is new and drawn for
VectorCraft.

shape.circleThroughPoints also takes two points, or two selected anchor
points, as the ends of a diameter. Its two errors about the number of
points now say "two or three", in every catalog that translates them.

Part of #7178.
2026-11-17 13:29:12 -08:00
BFlat ee60c51fd9 Merge pull request #8323 from dotCooCoo/fix/psd-cmyk-placement
Fix #8316: preserve CMYK PSD images when placed or relinked
2026-11-18 03:23:55 +07:00
BFlat aab753f4f2 Merge pull request #7819 from dotCooCoo/feat/textures-map-art-and-shading
Export 3D Object: mapped graphics export as textures of their faces
2026-11-18 03:23:34 +07:00
BFlat 41b70ed172 Merge pull request #8333 from dotCooCoo/fix/issue-6117
Enclosing Lasso: the tool is in the Lasso tool's flyout
2026-11-18 03:23:25 +07:00
BFlat 521e5ac158 Merge pull request #8258 from dotCooCoo/feat/type-forced-line-break
Type: Forced Line Break inserts a line break in the paragraph, at the caret
2026-11-18 03:23:16 +07:00
BFlat 0d8315801f Merge pull request #8207 from dotCooCoo/fix/issue-8090
Fix #8090: the Eyedropper samples into picked gradient mesh points
2026-11-18 03:23:07 +07:00
BFlat 7429d7247f Merge pull request #8265 from dotCooCoo/feat/live-paint-isolation-adds-paths
Live Paint: paths drawn in an isolated Live Paint group join it when isolation ends
2026-11-18 03:22:58 +07:00
BFlat bb0329a885 Merge pull request #7750 from dotCooCoo/feat/mesh-drop-color-point
Gradient mesh: a color dropped or eyedropped on a point or patch recolors it
2026-11-18 03:22:38 +07:00
BFlat a18fef053f Merge pull request #8288 from dotCooCoo/fix/metafile-loss-warnings
Metafile import: warn about images, clips and raster operations the reader leaves out
2026-11-18 03:22:29 +07:00
BFlat 496f1e351e Merge pull request #8287 from dotCooCoo/fix/pdf-large-images-64-bit
PDF import: 64-bit desktop builds open images up to 4 GB and 2^30 pixels
2026-11-18 03:22:18 +07:00
BFlat d55a967dde Merge pull request #8157 from dotCooCoo/fix/hfp-full-tone
Image Trace: High Fidelity Photo traces in Full Tone with abutting shapes
2026-11-18 03:22:09 +07:00
BFlat e1b12a5640 Merge pull request #8060 from dotCooCoo/feat/hyphenation-languages
Type: text hyphenates in Bulgarian, Turkish and Russian, and in German, Polish, Portuguese and Italian with CRAFT_I18N_DIR
2026-11-18 03:22:00 +07:00
BFlat a3a9b081e2 Merge pull request #8062 from dotCooCoo/feat/loaded-text-link-cursor
Selection: loaded text shows a link cursor over an object a click threads it into
2026-11-18 03:21:40 +07:00
BFlat 5088d9c6ec Merge pull request #8272 from dotCooCoo/feat/emf-font-width-scale
Metafile import: a LOGFONT average character width becomes Horizontal Scale
2026-11-18 03:21:07 +07:00
BFlat d7556fbae5 Merge pull request #8249 from dotCooCoo/feat/swatches-drag-to-delete
Swatches: swatches dragged onto the Delete Swatch button are deleted
2026-11-18 03:20:53 +07:00
BFlat 3ab5db4c64 Merge pull request #8092 from dotCooCoo/fix/issue-8047-group-marquee
Group Selection: a marquee selects the objects it touches, whole
2026-11-18 03:20:42 +07:00
BFlat aa8ef006da Merge pull request #7446 from dotCooCoo/fix/ai-transform-guide-reach
.ai import: guides past an object's art keep the drawn look under Transform and Free Distort
2026-11-18 03:20:32 +07:00
BFlat 0d681e804d Merge pull request #8339 from dotCooCoo/fix/bounds-reference-number
Fix #8334: setBounds reads whole-number float references correctly
2026-11-18 03:20:23 +07:00
BFlat 40f1080a86 Merge pull request #8215 from dotCooCoo/fix/trim-line-end-on-curve
Path Precision Tools: a path that ends on a curve still divides it after the curve is cut
2026-11-18 03:20:13 +07:00
BFlat a3a3f2dfec Merge pull request #8108 from dotCooCoo/feat/spiral-constrain-angle
Spiral: dragging turns the spiral to the pointer, and the click dialog starts it along Constrain Angle
2026-11-18 03:20:05 +07:00
BFlat 409b8ce9d1 Merge pull request #8058 from dotCooCoo/perf/selection-batch-toggle
Selection: select.toggle and select.add with many ids go through the selection once
2026-11-18 03:19:52 +07:00
BFlat 3bdc7400a3 Merge pull request #8045 from dotCooCoo/fix/ai-legacy-perceptual-gradient
Legacy .ai: write Perceptual gradients with the stops on their curve
2026-11-18 03:19:43 +07:00
BFlat ba6e0683a5 Merge pull request #8328 from dotCooCoo/fix/followup-8305
Color Guide: a script run or a resting link keeps the base color it showed
2026-11-18 03:19:34 +07:00
dotCooCoo 9ae9da71b8 Fix numeric reference points in bounds transforms 2026-11-17 08:02:50 -08:00
dotCooCoo 0a14dc0a8c Docs: wrap the Enclosing Lasso paragraph in docs/roadmap.md 2026-11-17 07:43:48 -08:00
BFlat 27d0b095da Merge pull request #7075 from mockydevs/fix/twist-smooth-7069
Twist: handles follow the rotation's derivative, so a strongly twisted path is smooth
2026-11-17 22:38:15 +07:00
dotCooCoo cce26edfa0 Merge main into fix/metafile-loss-warnings
# Conflicts:
#	Cargo.toml
2026-11-17 07:25:38 -08:00
dotCooCoo ea4e3bce29 Color Guide: a script run or a resting link keeps the base color it showed
Running a script or a plug-in now ends the spot color base's link, as a
batch step already did, so a script that deletes the spot color and makes
another of the same name does not make the new one the base. Commands that
only list scripts or plug-ins keep the link.

While the link waits for an Undo, the color it captures before a command is
the one the guide shows, not that of a new spot color of the same name.
2026-11-17 07:08:52 -08:00
dotCooCoo 4c47558d9a Merge main into fix/pdf-large-images-64-bit 2026-11-17 07:06:24 -08:00
dotCooCoo d1afba560d Enclosing Lasso: the tool is in the Lasso tool's flyout
The Enclosing Lasso Tool joins the Lasso group in both shipped
toolbars, right after the Lasso, and stays in Object › Plug-ins ›
Enclosing Lasso. The All Tools drawer lists it once, under Select, 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.

Fixes #6117
2026-11-17 06:51:00 -08:00
BFlat c4147826a3 Merge pull request #7353 from dotCooCoo/fix/i18n-adjacent-placeholders
i18n: messages with values side by side can be translated
2026-11-17 21:32:55 +07:00
BFlat f20bc1c97f Merge pull request #8320 from dotCooCoo/fix/flare-ring-seed-mixing
Flare: distribute the first ring for small seeds
2026-11-17 21:32:44 +07:00
BFlat 271a28840c Merge pull request #8246 from dotCooCoo/feat/ai-editing-data-meshes
.ai save: the editing copy keeps gradient meshes
2026-11-17 21:32:35 +07:00
dotCooCoo badaf937e3 Fix #8316: preserve native CMYK PSD composites 2026-11-17 06:19:51 -08:00
Don Omondi 4881a46f34 Merge remote-tracking branch 'upstream/main' into fix/twist-smooth-7069
# Conflicts:
#	docs/effects-parity.md
#	docs/target-app-parity.md
2026-11-17 08:33:56 -05:00
dotCooCoo 8f0379cc3f Flare: distribute the first ring for small seeds 2026-11-17 05:07:35 -08:00
BFlat c4163015d9 Merge pull request #8311 from Hassan1305/fix-8300-pdf-fill-only-after-stroke
PDF import: a glyph filled only after one filled and stroked stays unstroked
2026-11-17 19:51:28 +07:00
dotCooCoo 21feb686cf Merge main into feat/ai-editing-data-meshes 2026-11-17 04:04:45 -08:00
BFlat 277e0f2742 Merge pull request #7330 from dotCooCoo/fix/blob-params-rejected
Blob Brush: path.blob rejects invalid fidelity, angle and roundness
2026-11-17 18:49:52 +07:00
BFlat b016b56635 Merge pull request #7357 from dotCooCoo/fix/ai-brush-mask-art
.ai editing data: Scatter and Art brushes keep their art's opacity masks
2026-11-17 18:49:43 +07:00
BFlat ea76338f43 Merge pull request #8305 from dotCooCoo/fix/color-guide-spot-link
Color Guide: renaming, deleting or unspotting the base spot color keeps the link right
2026-11-17 18:49:34 +07:00
BFlat 9908e10781 Merge pull request #8299 from dotCooCoo/fix/pdfx-xmp-metadata-date
PDF/X: PDF/X-4 files carry xmp:MetadataDate, equal to xmp:ModifyDate
2026-11-17 18:49:07 +07:00
HassanKhan 8eb4416945 Docs: record #8300 in the current File formats rows of target-app-parity 2026-11-17 16:15:52 +05:00
HassanKhan 007180e2f3 PDF import: a glyph filled only after one filled and stroked stays unstroked (#8300)
Look::takes let a glyph filled only join a run whose glyphs were also
stroked, so after mode 2 text a mode 0 glyph took the run's stroke:
`2 Tr (B) Tj 0 Tr (C) Tj` came in as "BC" stroked throughout. A glyph
now joins only a run drawn alike (fill, stroke, overprints), so a glyph
filled only starts a run of its own and takes a stroke only when the
matched-stroke path (#8039) strokes it.

flush_stroke no longer strokes a whole run in place: a whole run goes
through the split and join code, so fill and stroke rendering glyph by
glyph still builds one stroked run.
2026-11-17 15:59:49 +05:00
BFlat 6d5767bf10 Merge pull request #8264 from dotCooCoo/feat/prefs-descriptions-smart-guides
Preferences: the line under the fields describes each Smart Guides setting
2026-11-17 17:28:55 +07:00
BFlat 990c8cc916 Merge pull request #8233 from dotCooCoo/feat/save-for-web-optimize-to-size
Save for Web: Optimize to File Size picks the settings that bring the image under a typed size
2026-11-17 17:28:44 +07:00
BFlat 567485aa12 Merge pull request #8263 from dotCooCoo/feat/print-ink-spot-to-process
Print: Document Ink Options converts one chosen spot ink to process
2026-11-17 17:28:34 +07:00