gf_context_set_pattern()

Set the current ROP pattern

Synopsis:

#include <gf/gf.h>

void gf_context_set_pattern( gf_context_t context,
                             const uint8_t *pattern,
                             unsigned short x_offset,
                             unsigned short y_offset,
                             unsigned flags )

Arguments:

context
The draw context to set the pattern for.
pattern
A pointer to the bitmap containing the pattern.
x_offset, y_offset
The horizontal and vertical offset for the pattern bitmap.
flags
Flags controlling additional behavior. Valid flags are:

Library:

gf

Description:

This function sets the current pattern. Patterns are used in conjunction with raster operations (ROPs) to allow a total of 256 possible operations — see gf_context_set_rop() for more information.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_context_create()