Newsgroups: comp.lang.lisp
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!csn!boulder!tigger!ralex
From: ralex@cs.Colorado.EDU (Repenning Alexander)
Subject: Drawing Icons in CLX
Message-ID: <1991Mar22.015308.28759@colorado.edu>
Originator: ralex@tigger
Sender: news@colorado.edu (The Daily Planet)
Nntp-Posting-Host: tigger.colorado.edu
Organization: University of Colorado, Boulder, Department of Computer Science
Date: Fri, 22 Mar 1991 01:53:08 GMT

I' using put-image to draw variable sized icons into windows. This works
just fine. However, I also like to be able draw the icons in reverse mode.
My naive approach was to set the function of the graphicc context supplied
to the put-image function to boole-c1. Instead of giving me the reversed
icon it gives me  a completely black one. I also tried all variations
for function (0..15) but none of the results is gives my aa reversed icon.

Do I have to tweak foreground and background of the graphic context 
somehow, or would it be better to use some other function than put-image?


  Any suggestions?


 Help...  thanks,  Alex
