Damage(3U) | InterViews Reference Manual | Damage(3U) |
Damage - repairs damaged graphics
#include <Unidraw/Graphic/damage.h>
Damage objects store damaged areas of a graphic for subsequent incremental repair. Areas of a graphic are "damaged" if they need to be redrawn for any reason, e.g., if their state has been modified or if under/overlapping graphics change their appearance. Damage objects try to minimize the amount of redrawing needed to repair a graphic. They are most useful when the graphic is complicated enough that it would be undesirable to redraw the entire canvas when the graphic is modified. Damage objects do not eliminate the need for an interactor's Redraw member function, though they could be used to implement it.
Canvas(3I), Graphic(3U), Iterator(3U), Painter(3I), UList(3U), geomobjs(3U)
30 January 1991 | Unidraw |