DAS  3.1.6 - 18/09/2017
Data Fields
MIMAGE_DESCR Struct Reference

Image description. More...

#include <Mguidefs.h>

+ Collaboration diagram for MIMAGE_DESCR:

Data Fields

IMAGE_DATA alpha
 
IMAGE_DATA backup_data
 
IMAGE_CMAPcolormap
 
IMAGE_DATA data
 
CARD32 flags
 
char * fname
 
unsigned int img_h
 
unsigned int img_w
 
unsigned int installed
 
struct MIMAGE_DESCRmask
 
unsigned int ncolors
 
unsigned int nplanes
 
CARD32 pixmap_id
 
unsigned int row_w
 

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 and CmImage for available functions/methods.

Definition at line 436 of file Mguidefs.h.

Field Documentation

§ alpha

IMAGE_DATA MIMAGE_DESCR::alpha

Image alpha channel data

Definition at line 459 of file Mguidefs.h.

§ backup_data

IMAGE_DATA MIMAGE_DESCR::backup_data

Backup Image raw pixel data

Definition at line 457 of file Mguidefs.h.

§ colormap

IMAGE_CMAP* MIMAGE_DESCR::colormap

Image colormap (NULL for 24 planes images)

Definition at line 453 of file Mguidefs.h.

§ data

IMAGE_DATA MIMAGE_DESCR::data

Current Image raw pixel data

Definition at line 455 of file Mguidefs.h.

§ flags

CARD32 MIMAGE_DESCR::flags

Internal use only

Definition at line 465 of file Mguidefs.h.

§ fname

char* MIMAGE_DESCR::fname

Image file name (if loaded from file)

Definition at line 461 of file Mguidefs.h.

§ img_h

unsigned int MIMAGE_DESCR::img_h

Image height in pixel units

Definition at line 447 of file Mguidefs.h.

Referenced by D_PlotOneLine(), and PlotSpectrum().

§ img_w

unsigned int MIMAGE_DESCR::img_w

Image width in pixel units

Definition at line 445 of file Mguidefs.h.

§ installed

unsigned int MIMAGE_DESCR::installed

Boolean flag describing whether image colors have been allocated or not

Definition at line 439 of file Mguidefs.h.

§ mask

struct MIMAGE_DESCR* MIMAGE_DESCR::mask

Image mask

Definition at line 463 of file Mguidefs.h.

§ ncolors

unsigned int MIMAGE_DESCR::ncolors

Number of colors in the image (0 if TrueColor

Definition at line 441 of file Mguidefs.h.

§ nplanes

unsigned int MIMAGE_DESCR::nplanes

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

Definition at line 443 of file Mguidefs.h.

§ pixmap_id

CARD32 MIMAGE_DESCR::pixmap_id

Low level pixmap id (system dependent)

Definition at line 451 of file Mguidefs.h.

§ row_w

unsigned int MIMAGE_DESCR::row_w

Bytes per row

Definition at line 449 of file Mguidefs.h.


The documentation for this struct was generated from the following file:
______________________________________________________________________________________
Generated on Mon Sep 18 2017 11:47:15 for DAS - Rel. 3.1.6 - 18/09/2017.