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_layer_set_chroma.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_layer_set_chroma.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_layer_set_chroma.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_layer_set_chroma.html on line 8

gf_layer_set_chroma()

Set a layer's chroma operation

Synopsis:

#include <gf/gf.h>

void gf_layer_set_chroma( gf_layer_t layer,
                          const gf_chroma_t * chroma );

Arguments:

layer
A pointer to a gf_layer_t handle of the layer you want to set the chroma operation for.
chroma
A pointer to a gf_chroma_t describing the new chroma operation.

Library:

gf

Description:

This function sets a layer's chroma operation. Chroma allows you extended control over how the layer is overlaid into the overall display.


Note: Changes to the layer's parameters are enqueued. You need to call gf_layer_update() to make them take effect.

The chroma parameters normally control how the contents of the layer are compared with intersecting layers that are behind the specified layer.


Note: For the chroma operation, the attached layer can be thought of as the “source” while the layer(s) behind it can be thought of as the “destination”.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_chroma_t, gf_layer_set_blending(), gf_layer_query(), gf_layer_update()


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_layer_set_chroma.html on line 129

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_layer_set_chroma.html on line 129