_imDib Struct Reference
[Windows DIB]

Windows DIB Structure. More...

Data Fields

HGLOBAL handle
BYTE * dib
int size
BITMAPINFO * bmi
BITMAPINFOHEADER * bmih
RGBQUAD * bmic
BYTE * bits
int palette_count
int bits_size
int line_size
int pad_size
int is_reference

Detailed Description

Handles a DIB in memory.
The DIB is stored in only one buffer. The secondary members are pointers to the main buffer.

Field Documentation

HGLOBAL _imDib::handle

The windows memory handle

BYTE* _imDib::dib

The DIB as it is defined in memory

Full size in memory

BITMAPINFO* _imDib::bmi

Bitmap Info = Bitmap Info Header + Palette

BITMAPINFOHEADER* _imDib::bmih

Bitmap Info Header

RGBQUAD* _imDib::bmic

Bitmap Info Colors = Palette

BYTE* _imDib::bits

Bitmap Bits

number of colors in the palette

size in bytes of the Bitmap Bits

size in bytes of one line, includes padding

number of bytes remaining in the line, lines are in a word boundary

only a reference, do not free pointer


The documentation for this struct was generated from the following file:

Generated on Thu Oct 1 11:40:08 2009 for IM by  doxygen 1.6.1