Main Page   Modules   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

MIMAGE_DESCR Struct Reference
[MGui Structures]

Image description. More...

Inheritance diagram for MIMAGE_DESCR:

CmImage

Data Fields

unsigned int installed
 Boolean flag describing whether image colors have been allocated or not.

unsigned int ncolors
 Number of colors in the image (0 if TrueColor.

unsigned int nplanes
 Number of planes in the image (1,4,8,24).

unsigned int img_w
 Image width in pixel units.

unsigned int img_h
 Image height in pixel units.

unsigned int row_w
 Bytes per row.

CARD32 pixmap_id
 Low level pixmap id (system dependent).

IMAGE_CMAPcolormap
 Image colormap (NULL for 24 planes images).

IMAGE_DATA data
 Current Image raw pixel data.

IMAGE_DATA backup_data
 Backup Image raw pixel data.

IMAGE_DATA alpha
 Image alpha channel data.

char * fname
 Image file name (if loaded from file).

MIMAGE_DESCR * mask
 Image mask.

CARD32 flags
 Internal use only.


Detailed Description

Image description.

This is the structure MGui uses to handle images. MIMAGE , a pointer to this structure, should be used by the programmer in order to treat the image as an opaque object. See Image handling and CmImage for available functions/methods.


Field Documentation

IMAGE_DATA MIMAGE_DESCR::alpha
 

Image alpha channel data.

IMAGE_DATA MIMAGE_DESCR::backup_data
 

Backup Image raw pixel data.

IMAGE_CMAP* MIMAGE_DESCR::colormap
 

Image colormap (NULL for 24 planes images).

IMAGE_DATA MIMAGE_DESCR::data
 

Current Image raw pixel data.

CARD32 MIMAGE_DESCR::flags
 

Internal use only.

char* MIMAGE_DESCR::fname
 

Image file name (if loaded from file).

unsigned int MIMAGE_DESCR::img_h
 

Image height in pixel units.

unsigned int MIMAGE_DESCR::img_w
 

Image width in pixel units.

unsigned int MIMAGE_DESCR::installed
 

Boolean flag describing whether image colors have been allocated or not.

struct MIMAGE_DESCR* MIMAGE_DESCR::mask
 

Image mask.

unsigned int MIMAGE_DESCR::ncolors
 

Number of colors in the image (0 if TrueColor.

unsigned int MIMAGE_DESCR::nplanes
 

Number of planes in the image (1,4,8,24).

CARD32 MIMAGE_DESCR::pixmap_id
 

Low level pixmap id (system dependent).

unsigned int MIMAGE_DESCR::row_w
 

Bytes per row.


Generated on Sun Jun 29 13:03:08 2003 for MGui API by doxygen1.3-rc2