| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | XOR on Canvas.Pixels[] |
Bryan Smith mentioned this to All:
BS> My understanding is that XOR flips a bit in Canvas.Pixels if that bit is
BS> set in the mask $00FFFFFF, or leaves it alone if that bit is not set.
XOR will result in 1 if and only if one of the two operands is 1.
0 XOR 0 = 0
1 XOR 0 = 1
0 XOR 1 = 1
1 XOR 1 = 0
...Gary Weinfurther
--- GoldED 2.41
---------------
* Origin: The Flying Circus BBS, Farmington Hills, MI, USA. (1:2410/905) |
|
| SOURCE: echomail via exec-pc | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.