Newsgroups: comp.windows.ms.programmer
Path: funic!fuug!mcsun!dxcern!dscomsa!news.DKRZ-Hamburg.DE!rzsun2.informatik.uni-hamburg.de!Sirius.dfn.de!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!torn!nott!cunews!freenet.carleton.ca!Freenet.carleton.ca!ab760
From: ab760@Freenet.carleton.ca (Patrick Beirne)
Subject: Re: How do I get good results with R2_NOT?
Message-ID: <1993Feb19.054117.14992@freenet.carleton.ca>
Sender: news@freenet.carleton.ca (News Administrator)
Reply-To: ab760@Freenet.carleton.ca (Patrick Beirne)
Organization: The National Capital Freenet
References: <1993Feb17.073555.3197@netcom.com>  
Date: Fri, 19 Feb 1993 05:41:17 GMT
Lines: 24


In a previous article, djl@netcom.com (Dan Levin) says:

>If I use R2_NOT to draw (for example, rubber banding), the color
>drawn is the bitwise inverse of the location of the original color
>in the system palette, not the logical palette.  This means that I
>get a random color, since I have no control over where my logical
>palette entries are mapped into the system palette.
>
If you want the raw speed of hardware XOR, I'm afraid you're stuck with the
existing version of the 'rubber band'. All the solutions that I can think of
involve off-screen buffer of the display (or at least the area of the display
that is affected).

Good Luck

Pat Beirne,
Corel Corp.
-- 
