| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Set the current ROP pattern
#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 )
gf
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.
QNX Graphics Framework
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | Yes | 
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |