paint-funcs-types

paint-funcs-types

Synopsis

#define             TRANSPARENT_OPACITY
#define             OPAQUE_OPACITY
enum                InitialMode;
enum                CombinationMode;

Description

Details

TRANSPARENT_OPACITY

#define TRANSPARENT_OPACITY        0


OPAQUE_OPACITY

#define OPAQUE_OPACITY             255


enum InitialMode

typedef enum {
  INITIAL_CHANNEL_MASK = 0,
  INITIAL_CHANNEL_SELECTION,
  INITIAL_INDEXED,
  INITIAL_INDEXED_ALPHA,
  INITIAL_INTENSITY,
  INITIAL_INTENSITY_ALPHA
} InitialMode;

INITIAL_CHANNEL_MASK

INITIAL_CHANNEL_SELECTION

INITIAL_INDEXED

INITIAL_INDEXED_ALPHA

INITIAL_INTENSITY

INITIAL_INTENSITY_ALPHA


enum CombinationMode

typedef enum {
  NO_COMBINATION = 0,
  COMBINE_INDEXED_INDEXED,
  COMBINE_INDEXED_INDEXED_A,
  COMBINE_INDEXED_A_INDEXED_A,
  COMBINE_INTEN_A_INDEXED,
  COMBINE_INTEN_A_INDEXED_A,
  COMBINE_INTEN_A_CHANNEL_MASK,
  COMBINE_INTEN_A_CHANNEL_SELECTION,
  COMBINE_INTEN_INTEN,
  COMBINE_INTEN_INTEN_A,
  COMBINE_INTEN_A_INTEN,
  COMBINE_INTEN_A_INTEN_A,

  /*  Non-conventional combination modes  */
  BEHIND_INTEN,
  BEHIND_INDEXED,
  REPLACE_INTEN,
  REPLACE_INDEXED,
  ERASE_INTEN,
  ERASE_INDEXED,
  ANTI_ERASE_INTEN,
  ANTI_ERASE_INDEXED,
  COLOR_ERASE_INTEN
} CombinationMode;

NO_COMBINATION

COMBINE_INDEXED_INDEXED

COMBINE_INDEXED_INDEXED_A

COMBINE_INDEXED_A_INDEXED_A

COMBINE_INTEN_A_INDEXED

COMBINE_INTEN_A_INDEXED_A

COMBINE_INTEN_A_CHANNEL_MASK

COMBINE_INTEN_A_CHANNEL_SELECTION

COMBINE_INTEN_INTEN

COMBINE_INTEN_INTEN_A

COMBINE_INTEN_A_INTEN

COMBINE_INTEN_A_INTEN_A

BEHIND_INTEN

BEHIND_INDEXED

REPLACE_INTEN

REPLACE_INDEXED

ERASE_INTEN

ERASE_INDEXED

ANTI_ERASE_INTEN

ANTI_ERASE_INDEXED

COLOR_ERASE_INTEN