Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!cernvax!marchesi From: marchesi@cernvax.UUCP (marchesi) Newsgroups: net.micro.mac Subject: Re: Flopping line in MacPaint (rubberband line) Message-ID: <363@cernvax.UUCP> Date: Fri, 15-Aug-86 10:51:02 EDT Article-I.D.: cernvax.363 Posted: Fri Aug 15 10:51:02 1986 Date-Received: Sun, 17-Aug-86 06:15:01 EDT References: <2693@mit-hermes.ARPA> <1232@trwrb.UUCP> <208@bridge2.UUCP> Reply-To: marchesi@cernvax.UUCP () Distribution: net Organization: CERN, Geneva/Switzerland Lines: 27 In article <208@bridge2.UUCP> pvf@bridge2.UUCP writes: >......... >The rubberband line is a simple call to polyline with the XOR writing >mode enabled. All you have to do is draw the line from the fixed point >to the variable point, under XOR writing mode: > > 1) When the variable point selector moves to a point, and, > 2) When the variable point selector moves off that point. > >Of course, this means that each line is "drawn" twice. First, to >make it visible, then again to make it invisible. >......... ...again: MacPaint does *NOT* XOR...... (but I'd like to learn how it really works without having to trace it down myself...) pp ---------------------------------------------------------------------------- Paolo Petta p-mail: DD Division CERN CH-1211 Geneva 23 Switzerland e-mail: ...{seismo,philabs,decvax,...}!mcvax!cernvax!marchesi