You specify a rectangular region of memory (for instance, to define the area into which a drawing engine is to draw) using a rectangle structure, defined by the TQARect data type. All values are interpreted to be in device coordinates.
typedef struct TQARect {
long left;
long right;
long top;
long bottom;
} TQARect;