OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Accessing Internal Structures

These TDib functions give you access to a device-independent bitmap's (DIB's) internal data structures.

They return the DIB's equivalent bitmap types as pointers to BITMAPINFO, BITMAPINFOHEADER, and TRgbQuad objects:

BITMAPINFO far* GetInfo();
BITMAPINFOHEADER far* GetInfoHeader();
TRgbQuad far* GetColors();

The following function returns a pointer to an array of WORDs containing the color indexes for the DIB:

uint16 far* GetIndices();

This function returns a pointer to an array containing the bits that make up the actual DIB image:

void HUGE* GetBits();

See Also