gf_context_set_chroma()

Replace the current chroma operation

Synopsis:

#include <gf/gf.h>

void gf_context_set_chroma(
        gf_context_t context,
        gf_chroma_t const *chroma );

Arguments:

context
Draw context handle.
chroma
A pointer to a gf_chroma_t that describes the chroma operation parameters. Don't pass NULL for this parameter.

Library:

gf

Description:

This function replaces the chroma parameters for subsequent draw operations for a draw context. A chroma operation gives you extended control over which pixels are plotted in terms of chroma key colors and testing operations.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_chroma_t, gf_context_disable_chroma()