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

Colormap entry. More...

#include <Mguidefs.h>

+ Collaboration diagram for IMAGE_CMAP:

Data Fields

unsigned char blue
 
unsigned char green
 
unsigned char index
 
unsigned char red
 

Detailed Description

Colormap entry.

A colormap is associated to an image with a fixed limited number of colors (usually 2, 16 or 256). An array of IMAGE_CMAP entries is always bound to an MIMAGE structure with an associated color palette.

Definition at line 410 of file Mguidefs.h.

Field Documentation

§ blue

unsigned char IMAGE_CMAP::blue

Blue color component

Definition at line 412 of file Mguidefs.h.

§ green

unsigned char IMAGE_CMAP::green

Green color component

Definition at line 414 of file Mguidefs.h.

§ index

unsigned char IMAGE_CMAP::index

Palette index. This field is intended for internal use. When the program runs in PaletteMode (nr of colors <= 256) this field stores the color index corresponding to the palette entry when the image is installed.

Definition at line 423 of file Mguidefs.h.

§ red

unsigned char IMAGE_CMAP::red

Red color component

Definition at line 416 of file Mguidefs.h.


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