mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-27 03:06:57 -06:00
Shared groundwork for gradient options SVG and PDF can't express (Illustrator 30's dither and perceptual gradients): GradientPaint::pixels samples a placed linear or radial gradient on a grid (Ramp: its stops, midpoints as stops, mixed as the renderer mixes them), and draws_as_pixels says which gradients are drawn that way (freeform ones, so far). The SVG and PDF writers' freeform-gradient image path takes any such gradient, a linear or radial one at the document's raster effects resolution. No change in output yet.