mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-14 14:22:39 +00:00
The canvas drew and blurred every drop shadow and outer glow on every render, also when the object or the view had only moved. Each image is now kept per object, effect, page and ink pass, with the whole effect drawn once. While the object (apart from its position), the effect, the view's scale and rotation, the render options and the document's colours, styles, layers and images stay the same, a move by whole device pixels places the kept image again. Any other change draws it afresh. Only multithreaded renders (the canvas) keep images, and only for objects without text or nested items. Kept images are limited to 4 Mpx each and 128 MiB in all; the images used longest ago go first, and an image no render placed in 256 renders is dropped.