🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #6357

Re: Window Zooming

#6357
From: Oliver Steele
Date: Wed, 09 Jul 1986 23:33
17 lines
1359 bytes
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)
Technical Details
Message-ID: <16@unc.unc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!topaz!uwvax!husc6!harvard!panda!genrad!decvax!mcnc!unc!steele
References: <12205@amdcad.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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