How Blick’s UI Painter keeps the pixels it has already rendered, combines shapes and opacity groups, and saves work behind an immediate-mode UI.