Module paint_damage
Expand description
Damage certified by the actual retained draw, rather than consumed edit flags.
Structs§
- Paint
Damage - Retains only draw caches; no document state, history or input is stored here.
- Paint
Frame - A complete draw partitioning: unchanged outside paint plus stable children.
- Paint
Part - One stable draw partition, with the damage its owning widget certified.
- Paint
Parts - A self-drawn widget’s draw, split into the parts of a
PaintFrameas 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.