set the transparency pattern
int my_set_transparency( unsigned char *pattern,
int xoff, int yoff );
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.
- 1
- Success.
- 0
- The operation couldn't be done.
Photon
Safety: | |
Interrupt handler |
Not applicable |
Signal handler |
Not applicable |
Thread |
Not applicable |