Abstract & Overview
To achieve the maximum performance from bitrnap displays, the screen must be used not just as an output device, but as a data structure that may cache computed images.In an interactive text or picture editor, that may mean converting the internal representation of what's being edited into a set of rectangles that tile the screen.Incremental updates of the image may then be done by rearranging some subset of the filing using bitmap operations, independently of how the tiling was derived.We have taken t_he ideas used in the screen update algorithms for the sam text editor and generalized them so they may be applied to more structured documents than the simple character stream sam edits.The ideas have been tested by building a library and a simple interactive document editor that treat a document as a hierarchical structure that may include text, pictures, and variable spacing.The core of the library is operators to make incremental changes to the display while maintaining the hierarchical data structure that describes it. Introduction.Guibas and Stolfi [1] suggested thinking about bitmap displays, and indeed bitmaps themselves, as data structures rather than just as a particularly nasty implementation detail.Although it may be going too far to attempt general image processing entirely at the bitmap level, it is reasonable to apply the ideas to the implementation of programs that must manipulate bitmaps directly, such as window systems and interactive text and documentThe work of the first two authors supported in part by the National Science