mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Illustrator 30.0's gradient Dither, from the public documentation (https://helpx.adobe.com/illustrator/desktop/paint-and-fill/create-and-edit-gradients/control-dither-in-gradients.html): a Dither checkbox in the Gradient panel; dither converts the gradient into pixels with subtle noise, works with gradient fills only, and follows the Document Raster Effects resolution. - Gradient gains `dither` (serde default false, written only when on, so older files open unchanged and new files keep it). - The renderer draws a dithered linear or radial fill as an image paint: the gradient sampled a cell per device pixel or finer (quarter-octave steps, cached per thread), each channel given seeded triangular noise of up to a level before rounding. Same pixels every run; strokes and undithered fills draw exactly as before. PNG and other raster exports go through it. - SVG and PDF write a dithered fill as an image at the document's raster effects resolution, clipped to the shape (the freeform-gradient path); characters' fills stay vector gradients in SVG, with a warning. - paint.editGradient and paint.setFill take `dither`; strokes refuse it. The Gradient panel's Dither box is dimmed behind the Stroke proxy. - i18n rows in all 24 catalogs; docs: G13, target-app-parity, ui-parity, mcp.md, plugins.md.