Newsgroups: comp.windows.x Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: mouse@lightning.mcrcim.mcgill.EDU (der Mouse) Subject: Re: question on using GC Functions for levels of overlap Message-ID: <9105050429.AA07059@lightning.McRCIM.McGill.EDU> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Date: 5 May 91 04:29:35 GMT Lines: 20 >>> Can anyone give me some ideas on drawing overlapping objects on the >>> screen in such a way that the colors indicate the level of overlap >>> (i.e. single, double, triple, ...). >> I'd say they're not supported at all in X. If you want the >> equivalent of GXadd, you have to [...]. > The simplest idea is to allow up to 8 overlay planes, one per pixel > plane. Well yes, if you're willing to dedicate a whole bitplane to each object, you can do anything you like with overlap. I was assuming the original poster wasn't satisfied with that approach; it uses up exponential colormap space, rapidly getting entirely out of hand. I may have been wrong in this assumption; thank you for pointing out this tactic.... der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu