[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color in MCL



In article <1995May18.153220.44823@yogi.urz.unibas.ch> Dieter Holz,
dieter@ifi.wwz.unibas.ch writes:
>I want to draw some colored lines in a MCL window in :PatXor Mode, but I
>get only black lines.


:PatXor is not defined for color.  What should happen for drawing
red over green?  What about red over pink?

When I have wanted to do this I have usually drawn the red and then
redrawn whatever I might have blotted out:

(without-interrupts 
 (draw-red-stuff)
 (redraw-background-stuff))

Feel free to use this code. :-)

Good luck.

-- 
Tom McDougal    University of Chicago Artificial Intelligence
     mailto:mcdougal@cs.uchicago.edu 
     http://cs-www.uchicago.edu/~mcdougal
     fax: (312) 702-7108
     PP-RH