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

gf_layer_update()

Update layer parameters

Synopsis:

#include <gf/gf.h>

int gf_layer_update( gf_layer_t layer,
                     unsigned flags );

Arguments:

layer
The handle for the layer to update.
flags
Flags to control the function's behavior. Valid flags are:

Library:

gf

Description:

This function updates a layer's parameters. Changes made to a layer with the gf_layer_*() set of functions are enqueued and don't take effect until you explicitly call this function.


WARNING: Threads should not call this function between calls to gf_draw_begin() and gf_draw_end(), or a deadlock will occur.

This function will fail, if an unsupported attribute is supplied to the layer.



Note: To update the parameters of several layers at once, use gf_layer_update_multi().

Returns:

GF_ERR_OK
Success.
GF_ERR_NOSUPPORT
Unsupported attribute.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_layer_detach(), gf_layer_disable(), gf_layer_enable(), gf_layer_query(), gf_layer_update_multi()


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_update.html on line 152

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_update.html on line 152