TIP: Click on subject to list as thread! ANSI
echo: delphi
to: BRYAN SMITH
from: GARY WEINFURTHER
date: 1996-07-08 09:43:00
subject: XOR on Canvas.Pixels[]

Bryan Smith mentioned this to Gary Weinfurther:
 BS> Problem is, it does not seem to work like that with the Canvas.  For
 BS> example, if the canvas color is clBlue = $00FF0000, and you BitBlt in
 BS> some white-on-black text using the SRCINVERT operator, you might expect 
to
 BS> get clYellow $0000FFFF text, but you get clOlive $00007F7F.  Likewise if
 BS> the canvas is clNavy, $007F0000 then you get clYellow $0000FFFF text.
Are you working with 256 colors?  If so, then the colors you get are going to 
be restricted to the current system palette.
                                ...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™.