Newsgroups: comp.windows.x
Path: cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!fs7.ece.cmu.edu!europa.eng.gtefsd.com!howland.reston.ans.net!zaphod.mps.ohio-state.edu!malgudi.oar.net!chemabs!skf26
From: scott.frost@cas.org (Scott Frost)
Subject: How to draw in Invert mode with Color
Message-ID: <1993May12.200515.11676@cas.org>
Sender: skf26@cas.org ()
Organization: Chemical Abstracts Service
Date: Wed, 12 May 1993 20:05:15 GMT
Lines: 21

  How can I draw an object of a specified color over objects of varying colors
  and then erase it without having to redraw everything else?

  What's happening is this,

      If I draw it using GXcopy, it is drawn in the specified color.  If I erase
      it using GXcopy with foreground and background reversed, it erases 
      whatever it overlayed.  I then need to redraw
      all of the items it crossed.  Yuch.

      If I draw it using GXinvert it is drawn in a random color - nothing 
      resembling what I requested.  It properly restores the color of 
      underlying objects in erase mode.

  What's the solution?
     

-- 
Scott K. Frost                  UUCP: osu-cis!chemabs!scott.frost
Same Mbox: BITNET: skf26@cas    INET: scott.frost@cas.org
Personal: 2753 Shrewsbury Rd, Upper Arlington Oh 43221 
