[Previous] [Contents] [Next]

my_set_transparency()

set the transparency pattern

Synopsis:

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

Description:

This function sets the transparency pattern. The arguments are:

pattern
The transparency 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 the draw buffer where the transparency will start.

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]