static inline UByte XOrCh(unsigned c1, unsigned c2);
XOrCh combines two channels by taking the binary "xor" of the values (c1 ^ c2). For 8 bit channels, the same equation is used.
Parameters |
Description |
unsigned c1 |
The first (the destination) of two channels that are combined to form the new value (return value). |
unsigned c2 |
The second (the source) of two channels that are combined to form the new value (return value). |
An UByte value formed from the binary xor of the two channels (c1 ^ c2).