Skip to main content

Module paint_damage

Module paint_damage 

Expand description

Damage certified by the actual retained draw, rather than consumed edit flags.

Structs§

PaintDamage
Retains only draw caches; no document state, history or input is stored here.
PaintFrame
A complete draw partitioning: unchanged outside paint plus stable children.
PaintPart
One stable draw partition, with the damage its owning widget certified.
PaintParts
A self-drawn widget’s draw, split into the parts of a PaintFrame as it paints: each part is drawn on its own, appended to the scene the widget paints in, and kept for the comparison with the last frame. A widget that paints its regions by hand (a timeline, a composer, a side panel) thereby reports the regions whose drawing changed, without tracking what each event touched.