DAS
3.1.6 - 18/09/2017
|
Image description. More...
#include <Mguidefs.h>
Data Fields | |
IMAGE_DATA | alpha |
IMAGE_DATA | backup_data |
IMAGE_CMAP * | colormap |
IMAGE_DATA | data |
CARD32 | flags |
char * | fname |
unsigned int | img_h |
unsigned int | img_w |
unsigned int | installed |
struct MIMAGE_DESCR * | mask |
unsigned int | ncolors |
unsigned int | nplanes |
CARD32 | pixmap_id |
unsigned int | row_w |
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.
IMAGE_DATA MIMAGE_DESCR::alpha |
Image alpha channel data
Definition at line 459 of file Mguidefs.h.
IMAGE_DATA MIMAGE_DESCR::backup_data |
Backup Image raw pixel data
Definition at line 457 of file Mguidefs.h.
IMAGE_CMAP* MIMAGE_DESCR::colormap |
Image colormap (NULL for 24 planes images)
Definition at line 453 of file Mguidefs.h.
IMAGE_DATA MIMAGE_DESCR::data |
Current Image raw pixel data
Definition at line 455 of file Mguidefs.h.
CARD32 MIMAGE_DESCR::flags |
Internal use only
Definition at line 465 of file Mguidefs.h.
char* MIMAGE_DESCR::fname |
Image file name (if loaded from file)
Definition at line 461 of file Mguidefs.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().
unsigned int MIMAGE_DESCR::img_w |
Image width in pixel units
Definition at line 445 of file Mguidefs.h.
unsigned int MIMAGE_DESCR::installed |
Boolean flag describing whether image colors have been allocated or not
Definition at line 439 of file Mguidefs.h.
struct MIMAGE_DESCR* MIMAGE_DESCR::mask |
Image mask
Definition at line 463 of file Mguidefs.h.
unsigned int MIMAGE_DESCR::ncolors |
Number of colors in the image (0 if TrueColor
Definition at line 441 of file Mguidefs.h.
unsigned int MIMAGE_DESCR::nplanes |
Number of planes in the image (1,4,8,24)
Definition at line 443 of file Mguidefs.h.
CARD32 MIMAGE_DESCR::pixmap_id |
Low level pixmap id (system dependent)
Definition at line 451 of file Mguidefs.h.
unsigned int MIMAGE_DESCR::row_w |
Bytes per row
Definition at line 449 of file Mguidefs.h.