[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Color in MCL
- To: info-mcl@digitool.com
- Subject: Re: Color in MCL
- From: Tom McDougal <mcdougal@cs.uchicago.edu>
- Date: Thu, 18 May 1995 22:33:37 GMT
- Organization: Univ. of Chicago Computer Science
- References: <1995May18.153220.44823@yogi.urz.unibas.ch>
- Sender: owner-info-mcl@digitool.com
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