The following data structures are used when programming bitmaps, screens, frames, and the display generator.
/* Graphics Context structure */ typedef struct GrafCon { Node gc; Color gc_FGPen; Color gc_BGPen; Coord gc_PenX; Coord gc_PenY; ulong gc_Flags; } GrafCon;
typedef struct Rect { Coord rect_XLeft; Coord rect_YTop; Coord rect_XRight; Coord rect_YBottom; } Rect;