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

_MYBITMAP Struct Reference
[Bitmap structure]

#include <gdi.h>

Data Fields


Detailed Description

Device-independent bitmap structure.

Definition at line 6664 of file gdi.h.


Field Documentation

Uint8 alpha
 

The alpha channel value.

Definition at line 6701 of file gdi.h.

BYTE* bits
 

The pointer to the bits of the bitmap.

Definition at line 6716 of file gdi.h.

Uint8 depth
 

The pixel depth.

Definition at line 6699 of file gdi.h.

DWORD flags
 

Flags of the bitmap, can be OR'ed by the following values:

  • MYBMP_TYPE_NORMAL
    A normal palette bitmap.
  • MYBMP_TYPE_RGB
    A RGB bitmap.
  • MYBMP_TYPE_BGR
    A BGR bitmap.
  • MYBMP_TYPE_RGBA
    A RGBA bitmap.
  • MYBMP_FLOW_DOWN
    The scanline flows from top to bottom.
  • MYBMP_FLOW_UP
    The scanline flows from bottom to top.
  • MYBMP_TRANSPARENT
    Have a trasparent value.
  • MYBMP_ALPHACHANNEL
    Have a alpha channel.
  • MYBMP_ALPHA
    Have a per-pixel alpha value.
  • MYBMP_RGBSIZE_3
    Size of each RGB triple is 3 bytes.
  • MYBMP_RGBSIZE_4
    Size of each RGB triple is 4 bytes.
  • MYBMP_LOAD_GRAYSCALE
    Tell bitmap loader to load a grayscale bitmap.
  • MYBMP_LOAD_ALLOCATE_ONE
    Tell bitmap loader to allocate space for only one scanline.

Definition at line 6695 of file gdi.h.

int frames
 

The number of the frames.

Definition at line 6697 of file gdi.h.

Uint32 h
 

The height of the bitmap.

Definition at line 6709 of file gdi.h.

Uint32 pitch
 

The pitch of the bitmap.

Definition at line 6711 of file gdi.h.

Uint32 size
 

The size of the bits of the bitmap.

Definition at line 6713 of file gdi.h.

Uint32 transparent
 

The transparent pixel.

Definition at line 6704 of file gdi.h.

Uint32 w
 

The width of the bitmap.

Definition at line 6707 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