SELCLR

typedef struct tagSELCLR
{
   L_UINT uStructSize;
   SELCLRINF selClrs[9];
} SELCLR, *pSELCLR;

The SELCLR structure contains the percentages of cyan, magenta, yellow and black that make up each of the "Selected Colors".

Member

Description

uStructSize

Size of this structure, in bytes. Use the sizeof operator to calculate this value.

selClrs[9]

An array of 9 SELCLRINF structures. Each SELCLRINF structure contains information about a specific color.

Comments

The nine elements in the selClrs array refer to the "Selected Colors" of an image. Those selected colors are: the additive colors (Red, Green and Blue), the subtractive colors (Cyan, Magenta and Yellow), the highlights (White), the midtones (Neutral) and the shadows (Black).

Each of those "Selected Colors" has information about the percentages of cyan, magenta, yellow and black that defines that selective color. For more information, refer to SELCLRINF.

The indexes of the array are as follows:

Index

Value

Selected Color

SELCLR_RED

0x0000

Red

SELCLR_YELLOW

0x0001

Yellow

SELCLR_GREEN

0x0002

Green

SELCLR_CYAN

0x0003

Cyan

SELCLR_BLUE

0x0004

Blue

SELCLR_MAGENTA

0x0005

Magenta

SELCLR_WHITE

0x0006

White

SELCLR_NEUTRAL

0x0007

Neutral

SELCLR_BLACK

0x0008

Black

This structure is used by L_SelectiveColorBitmap