Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site reed.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!houxm!vax135!cornell!uw-beaver!tektronix!reed!maclab From: maclab@reed.UUCP (Mac DLab) Newsgroups: net.micro.mac Subject: Re: Grow Regions Message-ID: <2242@reed.UUCP> Date: Sat, 7-Dec-85 16:09:50 EST Article-I.D.: reed.2242 Posted: Sat Dec 7 16:09:50 1985 Date-Received: Mon, 9-Dec-85 03:42:12 EST References: <8512060411.AA13585@kim> Organization: Reed College, Portland, Oregon Lines: 17 > Subject: Grow Regions: How do they do that? > > Attention, Real Hackers. Here's a tough one for you: When the mouse is > held down in the Grow box of a window and dragged, a gray outline of > the window follows it around. Likewise, in MacPaint or the Finder, you can > use a rectangle, which also appears in blinking gray, to select. Now, this > has got to be a non-trivial operation, saving the bits under the outline, > writing the outline, then restoring the saved bits after the outline moves. > Do we mortals have access to some semi-highlevel routine which does this for > us? Or am I going to have to kludge something up? Many thanks in advance. > > Steve Upstill No bits are saved -- the outline is just drawn in penmode patxor: when you redraw the same lines, the xor reverses the bits back to normal. Scott Gillespie