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

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()


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_context_set_pattern.html on line 119

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_context_set_pattern.html on line 119