Specification of a chroma operation
#include <gf/gf.h>
typedef struct {
    uint32 mode;
    gf_color_t color0;
    gf_color_t color1;
    gf_color_t mask;
} gf_chroma_t;
The gf_chroma_t structure describes a chroma operation. It contains at least the
following members:
- mode
- The chroma mode. This parameter must be a combination of one of:
     
- GF_CHROMA_OP_SRC_MATCH — test against source pixels
        
- GF_CHROMA_OP_DST_MATCH — test against destination pixels
      
 and one of:
       
- GF_CHROMA_OP_DRAW — draw if color0 matches the color of the test pixel
        
- GF_CHROMA_OP_NO_DRAW — don't draw if color0 matches the color of the test pixel
      
 
- color0
- Key color to compare against the test pixel for a single color match.
- color1
- Not currently used; set to 0.
- mask
- Not used.
QNX Graphics Framework
gf_context_set_chroma(),
gf_layer_set_chroma(),
The gf_color_t Type