Texture maps and bitmaps are defined using pixel images (or pixmaps). To specify a pixel image, you fill in an image structure, defined by the TQAImage data structure.
struct TQAImage {
long width;
long height;
long rowBytes;
void *pixmap;
};
typedef struct TQAImage TQAImage;