Heidi Class Reference
This appendix describes class hierarchy, classes, and
data structures that the Heidi graphics library uses to communicate with
drivers and applications.
Driver Class
Hierarchy
Figure 1 is a representation of the driver class hierarchy.

Figure 1. Driver class hierarchy
Following are further explanations of the driver hierarchy
boxes in figure 1:
- "Your driver" houses all of your hardware specific
drawing routines and state.
- "HT_Device_Data" is the generic device
class which has display capability. It contains the window id, colormap
id and context id options. Use this class to derive renderers that display
drawings.
- "HT_Physical_Renderer_Data" is the
generic terminal renderer with no sink. Use this class to derive renderers
that generate information about drawings(as opposed to drawing them).
- "HT_Renderer_Data" is the renderer
base class. It houses the definition of the action table. It also contains
window size, origin, buffer depth, color system, palette, and clipping
fudge options. This class defines what a renderer can do.
- "Heidi Smart Pointer Class (HT_Counted:HT_Object)"
is the ref counted "smart" pointer base class and has "automatic"
memory management.
For more information and sample applications, see chapter
3, "Implementing a New Driver."
Class
Reference
Following is a complete description of the Heidi graphics
library classes and methods. They are listed in alphabetical order with
sections describing the purpose, a synopsis of data members, operators,
constructors, and detailed notes.
For a complete list of the Heidi classes in alphabetical
order, see the "Contents"