_BITMAP Struct Reference
[Bitmap structure]

#include <gdi.h>

Data Fields


Detailed Description

Expanded device-dependent bitmap structure.

Definition at line 7365 of file gdi.h.


Field Documentation

The alpha channel value.

Definition at line 7402 of file gdi.h.

The private pixel format The Alpha Mask array of the bitmap

Definition at line 7421 of file gdi.h.

The Alpha Pitch of the bitmap

Definition at line 7424 of file gdi.h.

The bits of the bitmap

Definition at line 7416 of file gdi.h.

The bits per piexel.

Definition at line 7398 of file gdi.h.

The bytes per piexel.

Definition at line 7400 of file gdi.h.

The color key value.

Definition at line 7404 of file gdi.h.

The height of the bitmap

Definition at line 7412 of file gdi.h.

The pitch of the bitmap

Definition at line 7414 of file gdi.h.

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_ALPHA_MASK
    The bitmap have a private Alpha Mask array.

Definition at line 7396 of file gdi.h.

The width of the bitmap

Definition at line 7410 of file gdi.h.


The documentation for this struct was generated from the following file:
Generated on Thu Apr 7 15:58:42 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3