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

On 08 Jul 96 Gary Weinfurther said to Bryan Smith...
 GW> Bryan Smith mentioned this to Gary Weinfurther:
 BS> For example, if the canvas color is clBlue = $00FF0000, and you BitBlt 
n
 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.
 GW> Are you working with 256 colors?  If so, then the colors you get are
 GW> going to be restricted to the current system palette.
You are right, I'm working in 256 coulors.  What I don't undertand is why on
a 256-colour system, the "current system palette" seems to contain only 16
colours !
--- PPoint 2.00
---------------
* Origin: Kingston, Canada (1:249/109.11)

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™.