vectorcraft/docs
dotCooCoo 2b93e8a930 Swatches: swatch.library.save counts only the swatches the file holds
swatch.library.save replied with the number of solid colors and
gradients it was asked to save, including the gradients the format
leaves out. For a new document saved as .ase, count was 50 and the file
held 46 colors. The .gpl and .ase writers keep solid colors only, and
the CSS writer leaves freeform gradients out.

count is now the number of swatches written. The new
PaletteFormat::holds returns whether a file of a format keeps a swatch
with a given paint, and swatch.library.save counts the swatches for
which it returns true. The reply has the same fields as before.

Tests: after a freeform gradient is added to a new document's swatches,
the test checks that count has these values: 51 for .vcswatches, 46 for
.gpl and .ase, and 50 for CSS. Each file holds that many swatches.

Docs: docs/mcp.md.
2026-10-11 11:33:07 +07:00
..
brand Licensing: MIT OR Apache-2.0 files, NOTICE, ArtCraft brand terms 2026-10-04 10:05:13 -04:00
images README: refresh the screenshots and renders, add a Perspective Grid shot 2026-10-08 02:39:29 +07:00
affinity-validation.md AF.4 docs: leave out shop listings and sandbox notes 2026-10-09 22:20:39 +07:00
architecture.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#994) 2026-10-10 14:11:14 -04:00
contributors.md About: contributor and model credits compiled in (grab bag + table, self-submitted names) (#411) 2026-10-07 21:22:04 -04:00
control-protocol.md Drops: libraries, presets and plug-ins open on a drop, as File › Open opens them 2026-10-11 11:32:58 +07:00
development.md Drops: libraries, presets and plug-ins open on a drop, as File › Open opens them 2026-10-11 11:32:58 +07:00
effects-parity.md Part of gap 2: Effect › Brush Strokes (Accented Edges, Angled Strokes, Crosshatch, Dark Strokes, Ink Outlines, Spatter, Sprayed Strokes, Sumi-e) 2026-10-11 01:19:26 +07:00
file-format-parity.md #1102: an EPS keeps its page and stacked text strokes through its layers 2026-10-11 11:03:11 +07:00
gaps.md #1034: scaled type shows and takes its scaled sizes 2026-10-11 07:00:34 +07:00
hardware-parity.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#994) 2026-10-10 14:11:14 -04:00
localization-parity.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#994) 2026-10-10 14:11:14 -04:00
mcp.md Swatches: swatch.library.save counts only the swatches the file holds 2026-10-11 11:33:07 +07:00
plugins.md Fix #121: sandboxed WebAssembly plug-ins: object filters and live effects 2026-10-06 00:19:41 +07:00
releasing.md #1085: the DMG's app passes codesign --strict 2026-10-11 11:24:36 +07:00
revolve.md M9: add live Revolve with artboard rotation and lighting controls 2026-10-10 23:44:46 +07:00
roadmap.md #1034: scaled type shows and takes its scaled sizes 2026-10-11 07:00:34 +07:00
shaper.md M2.9: add editable Shaper groups and shape orientation steps 2026-10-08 22:52:23 +01:00
target-app-parity.md Object: Lock and Hide › All Artwork Above deselect the objects they lock or hide 2026-10-11 11:33:06 +07:00
type-parity.md #1034: scaled type shows and takes its scaled sizes 2026-10-11 07:00:34 +07:00
ui-parity.md Docs: ruler guides on layers in the parity docs 2026-10-11 06:03:47 +07:00
windows7.md M14: Windows 7 build: patch windows-link for that build only, manual CI 2026-10-08 05:37:06 +07:00