Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!topaz!uwvax!husc6!harvard!panda!genrad!decvax!mcnc!unc!steele From: steele@unc.UUCP (Oliver Steele) Newsgroups: net.micro.mac Subject: Re: Window Zooming Message-ID: <16@unc.unc.UUCP> Date: Wed, 9-Jul-86 19:33:30 EDT Article-I.D.: unc.16 Posted: Wed Jul 9 19:33:30 1986 Date-Received: Fri, 11-Jul-86 05:34:15 EDT References: <12205@amdcad.UUCP> Reply-To: steele@unc.UUCP (Oliver Steele) Distribution: net Organization: CS Dept, U. of N. Carolina, Chapel Hill Lines: 17 In article <12205@amdcad.UUCP> Thomas Carstensen writes: > > Is anybody familiar with exactly how window zooming is done (Like in >the Finder (opening disks & folders, etc), and in such programs as REdit >& Dialog Creator)? The problem for me seems to be after drawing a rectangle, >redrawing the screen window as it used to be. Set pen mode to patxor and pick your color. Draw your shape at its smallest size, then repeat { draw at next size; draw at previous size } until you've zoomed as much as you want to. Then draw at the last size to clean up. Two xors restore to original bits, so everything is pristine. -- Oliver Steele----------------------------------steele@unc ...!{decvax,ihnp4}!mcnc!unc!steele (usenet) steele%unc@csnet-relay.csnet (arpanet)