mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-10 04:11:23 +00:00
Crisp and Strong type was drawn offscreen twice in every frame, and None type once, with no cache, so a pan or a drag drew the type offscreen again. The renderer now keeps those pixels per object and ink plane, within a 128 MiB budget. It places the kept pixels in a frame, without drawing the type offscreen, while the object, the output's zoom and rotation, the method, the edge smoothing and what the type reads are unchanged, the output has moved by whole pixels, and the kept pixels hold every pixel the frame needs. After a pan that brings more of the type into view, the renderer draws the type offscreen again.