Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

_BITMAP Struct Reference
[Bitmap structure]

#include <gdi.h>

Data Fields


Detailed Description

Expanded device-dependent bitmap structure.

Definition at line 6733 of file gdi.h.


Field Documentation

Uint8 bmAlpha
 

The alpha channel value.

Definition at line 6770 of file gdi.h.

void* bmAlphaPixelFormat
 

The private pixel format

Definition at line 6787 of file gdi.h.

Uint8* bmBits
 

The bits of the bitmap

Definition at line 6784 of file gdi.h.

Uint8 bmBitsPerPixel
 

The bits per piexel.

Definition at line 6766 of file gdi.h.

Uint8 bmBytesPerPixel
 

The bytes per piexel.

Definition at line 6768 of file gdi.h.

Uint32 bmColorKey
 

The color key value.

Definition at line 6772 of file gdi.h.

Uint32 bmHeight
 

The height of the bitmap

Definition at line 6780 of file gdi.h.

Uint32 bmPitch
 

The pitch of the bitmap

Definition at line 6782 of file gdi.h.

Uint8 bmType
 

Bitmap types, can be OR'ed by the following values:

  • BMP_TYPE_NORMAL
    A nomal bitmap, without alpha and color key.
  • BMP_TYPE_RLE
    A RLE (run-length-encode) encoded bitmap. The encoding translates the pixel data to a stream of segments of the form

<skip> <run> <data>

where <skip> is the number of transparent pixels to skip, <run> is the number of opaque pixels to blit, and <data> are the pixels themselves.

Encoded pixels always have the same format as the BITMAP. <skip> and <run> are unsigned 8 bit integers, except for 32 bit depth where they are 16 bit. This makes the pixel data aligned at all times. Segments never wrap around from one scan line to the next. The end of one segment is marked by a zero <skip>,<run> pair.

  • BMP_TYPE_ALPHA
    Per-pixel alpha in the bitmap.
  • BMP_TYPE_ALPHACHANNEL
    The bmAlpha is a valid alpha channel value.
  • BMP_TYPE_COLORKEY
    The bmColorKey is a valid color key value.
  • BMP_TYPE_PRIV_PIXEL
    The bitmap have a private pixel format.

Definition at line 6764 of file gdi.h.

Uint32 bmWidth
 

The width of the bitmap

Definition at line 6778 of file gdi.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jun 26 13:54:28 2006 for MiniGUI V1.6.9 API Reference by  doxygen 1.4.2