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_contrast.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_contrast.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_contrast.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_contrast.html on line 8
Set a layer's contrast level
#include <gf/gf.h>
void gf_layer_set_contrast( gf_layer_t layer,
int contrast );
- layer
- A pointer to a gf_layer_t handle of the layer you want to set the contrast for.
- contrast
- The contrast level of layer, in the range of -127 to 128, with 0 indicating normal contrast.
gf
This function controls the contrast of a layer.
|
- This function only affects layers in YUV format.
- Changes to the layer's parameters are enqueued. You need to call gf_layer_update() to make them take effect. The gf_layer_update() call will return something other than GF_ERR_OK if the layer doesn't have the GF_LAYER_CAP_SET_CONTRAST attribute (see gf_layer_query()).
|
QNX Graphics Framework
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
gf_display_attach(),
gf_layer_detach(),
gf_layer_disable(),
gf_layer_enable(),
gf_layer_query(),
gf_layer_set_brightness()
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_contrast.html on line 123
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_contrast.html on line 123