You specify a clipping region (for example, when creating a new draw context with the QADrawContextNew function) by filling in a clip data structure, defined by the TQAClip data type. The clipping region determines which pixels are drawn to a device.
typedef struct TQAClip {
TQAClipType clipType;
TQAPlatformClip clip;
} TQAClip;