[Previous] [Contents] [Next]

my_set_dither()

set the dithering pattern

Synopsis:

int my_set_dither( unsigned char *pattern, 
                   int xoff, int yoff );

Description:

This function sets the dithering pattern. The arguments are:

pattern
The dithering pattern. This is an array of 8 characters that defines an 8-bit * 8-bit pattern (pattern[0] defines the first row of bits, pattern[1] the second, and so on).
xoff, yoff
Offsets into pattern.

Returns:

1
Success.
0
The operation couldn't be done.

Classification:

Photon

Safety:
Interrupt handler Not applicable
Signal handler Not applicable
Thread Not applicable

[Previous] [Contents] [Next]