CHAPTER 4 Structured Graphics

Summary


This chapter covered Fresco's structured graphics by looking at a simple application program called Figgy. The Figgy program illustrates features common in structured graphics such as scrolling and zooming the drawing and manipulating the graphics, yet it does not exercise Fresco's grouping and instancing capabilities.

We looked at the process of draw traversal, and discussed the operations need_redraw() and need_resize() in the context of damage-based update and cull-testing. We also looked at the pick traversal process and how the Figgy program converts mouse and keyboard events into the interaction you see when you click and drag a circle. This included discussions of GlyphTraversal objects, the Viewer's handle() operation, as well as FiggyViewer's press(), drag(), and release() operations.

We concluded with a discussion of transformations in Fresco.


Copyright (c) 1994 by Steve Churchill
Comments or questions? Contact Steve Churchill (stevec@faslab.com)

Generated with CERN WebMaker