gf_context_set_alpha()

Set the current alpha operation

Synopsis:

#include <gf/gf.h>

void gf_context_set_alpha(
        gf_context_t context,
        gf_alpha_t const *alpha );

Arguments:

context
The graphics context to set the alpha channel for.
alpha
A pointer to a gf_alpha_t structure that describes the alpha blending parameters. Do not pass NULL for this parameter.

Library:

gf

Description:

This function sets the alpha blending parameters for subsequent draw operations for a draw context. Alpha blending gives you control over the opacity of pixels.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_alpha_t, gf_context_disable_alpha()