gf_layer_set_edge()

Set the edge processing method for a layer

Synopsis:

#include <gf/gf.h>

void gf_layer_set_edge(gf_layer_t layer, 
                       unsigned edge ); 


Arguments:

layer
A pointer to a gf_layer_t handle of the layer you want to set the edge processing method for.
edge
The filter edge processing method to use.

Can be any of the following values:

GF_LAYER_EDGE_NONE
none.
GF_LAYER_EDGE_CLAMP
Enable edge clamping mode.
GF_LAYER_EDGE_WRAP
Enable edge wrapping.

Library:

gf

Description:

This function allows you to set the edge processing type for a given layer.


Note:

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_EDGE_xxx attribute (see gf_layer_query()).


Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_display_attach(), gf_layer_detach(), gf_layer_disable(), gf_layer_enable()