Drawing Graphics: 1 Drawing Goals

Up: GEOS SDK TechDocs| Up | Prev: Drawing Graphics | Next: 2 Shapes

The graphics system has a set of graphic commands capable of describing anything that might ever be drawn; at the same time, the command set should not be overwhelming. Common routines must be heavily optimized: if the line or text drawing routines are slow, the system will be slowed by a similar amount. Commands for drawing the various shapes must exist for all the contexts discussed in the previous chapter. In GEOS, you use the same graphics commands whether you are drawing to a display, describing a GString (which can be sent to a printer), drawing to a bitmap, or describing a path. This simplifies graphics programming a great deal.


Up: GEOS SDK TechDocs| Up | Prev: Drawing Graphics | Next: 2 Shapes