Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!gatech!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: How to erase lines and rectangles? Message-ID: <8907171521.AA09871@expire.lcs.mit.edu> Date: 17 Jul 89 15:21:41 GMT References: <18556@mimsy.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 4 If your application is only using two colors, you can use the function GXxor or GXinvert to "undo" graphics. If you are using more, it's harder. Try reading sections 7.4.1 through 7.4.3 in the O'Reilly books, Volume 1 (also found in the R3 distribution in doc/tutorials/color.tbl.ms).