Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_chroma_t.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_chroma_t.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_chroma_t.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_chroma_t.html on line 8
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
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_chroma_t.html on line 111
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_chroma_t.html on line 111