Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!van-bc!outbound!ice!colin_fox From: colin_fox@ice.outbound.wimsey.bc.ca (Colin Fox) Message-ID: Organization: Animatrix Newsgroups: comp.sys.amiga.programmer Subject: Re: help with struct Image Date: 23 Apr 91 14:06:58 PDT >I'm working on a project in which I have a struct Image of depth one. I've >got a need to render it in normal video and reverse video. Is there an >easy way to draw an XOR of the image without 1) modifying the original >image, 2) boating a second, XORed, copy of the image around in my code or >3) having to allocate a temporary buffer into which to XOR it? The easiest thing would be to set RP_COMPLEMENT in your RPort flags, (via SetDrMd()), and then RectFill() over your image. That will reverse it. +-------------------------------------+----------------------------------+ | Colin_Fox@ice.outbound.wimsey.bc.ca | "...heavy!" | +-------------------------------------+ "There's that word again! Is | | Informal home of SIGGRAPH Vancouver,| there a problem with gravity in | | and proud of it! | the future?" -- Doc | +-------------------------------------+----------------------------------+