Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!samsung!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: mouse@lightning.mcrcim.mcgill.EDU (der Mouse) Newsgroups: comp.windows.x Subject: Re: NEEDED: Color "OR" operation Message-ID: <9105160751.AA06270@lightning.McRCIM.McGill.EDU> Date: 16 May 91 07:51:29 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 17 >> I need the ability to specify a color dominance in graphics >> operations in X. [...] > and your Visual is appropriate, you can use XAllocColorPlanes to ... > No. But the AllocColorPlanes operation I outlined above will almost Oops. (I hate it when that happens.) The AllocColorPlanes operation is for DirectColor visuals only. For PseudoColor (and GrayScale, if you want to deal with that) use XAllocColorCells. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu