[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Quickdraw
- To: comp-lang-lisp-mcl@services.cambridge.apple.com
- Subject: Quickdraw
- From: pbjakewa@barrow.uwaterloo.ca (Bruce Jakeway)
- Date: Tue, 2 Aug 1994 21:29:51 GMT
- Newsgroups: comp.lang.lisp.mcl
- Organization: University of Waterloo
- Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
I want to draw two colour rectangles which partially overlap on each side, so
that the part that overlap are set to the background colour and the rest is in
the foreground colour. For example,
---------- -----
| | | | |
|---- | should appear as ---- |
| | | |
---------- ----------
The :patXor pen-mode almost does this, but it leaves the overlap in portion in
a colour exactly opposite the first rectangle's foreground colour and draws the
remaining part of the second rectangle in black.
Is there a way of asking Xor to use the current foreground and background
colours instead of using the foreground and its opposite? Or is there another
method of doing this I should be aware of?
Bruce
--
...o \ Bruce Jakeway * pbjakeway@barrow.uwaterloo.ca / +============+
o /"""""""""""""""""""""""""""""""""""""""""""""""""""\ | o |}
/~> * I press on toward the goal to ... which God has * | /|\ | }
/| * called me heavenward in Christ Jesus. Php 3:14 * | | | | }