[comp.lang.lisp] Drawing Icons in CLX

ralex@cs.Colorado.EDU (Repenning Alexander) (03/22/91)

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