|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Set layer blending
#include <gf/gf.h> void gf_layer_set_blending( gf_layer_t layer, const gf_alpha_t * alpha );
- A pointer to a gf_layer_t handle of the layer you want to set alpha blending for.
- A gf_alpha_t structure describing the new blending.
This function gives you control over layer blending (that is, opacity), allowing you to make a layer fully opaque, transparent, or semitransparent.
|Changes to the layer's parameters are enqueued. You need to call gf_layer_update() to make them take effect.|
The blending parameters normally control how the contents of the layer are blended with intersecting layers that are behind the specified layer.
QNX Graphics Framework