The Graphic Component is used for drawing. It offers some primitive drawing operations: drawing of lines, rectangles, text and pixmaps.
Provide an high level, easy to use, extendible way of drawing.
Encapsulate the GtkAda library to avoid dependencies on GtkAda.
Allow usage of other libraries than GtkAda for drawing e.g. directly in a postscript file.
We use a simple OO interface which only offers the primitive drawing operations. Those parts of the code which should be independent of how something is drawn only use this interface for drawing. They must be initialized or called with the desired Graphic Component implementation.
For drawing with the GtkAda library there is an implementation of the Graphic Component called Gtk Graphic Component which is passed around when we want to draw on the display.