6.1 Graphic Context

With the graphical object containing enough information to render itself independent of its surroundings, Bifrost support local graphic context. Local context is defined as the ability of graphical objects to draw themselves, [Bifrost 92] p. 4. This can very easily and elegantly be designed in an object oriented imaging model. Using local graphic context can, however, give rise to overhead if many objects with the same context are drawn successively: time is wasted by setting the (same) graphics context each time one of the graphical objects are drawn. The contrary to local context, global graphic context is not supported in Bifrost. Instead an intermediate approach between local and global context, called shared graphic context, is designed but not yet implemented [Bifrost 92] p. 80.


The Bifrost Graphics System - Reference Manual
© 1991-2004 Mjølner Informatics
[Modified: Thursday October 5th 2000 at 17:17]