Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!apple!apple.com!wrs
From: wrs@apple.com (Walter Smith)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Can anyone answer these Questions?
Message-ID: <3707@internal.Apple.COM>
Date: 19 Aug 89 02:09:06 GMT
Sender: usenet@Apple.COM
Organization: Apple Computer, Inc.
Lines: 20
References:<840@eutrc3.urc.tue.nl> <17406@bellcore.bellcore.com>

In article <17406@bellcore.bellcore.com> sdh@wind.bellcore.com (Stephen D 
Hawley) writes:
> In article <840@eutrc3.urc.tue.nl> rcbaem@eutrc3.urc.tue.nl (Ernst 
Mulder) writes:
> >2) [How do I shrink selection rects?  Is there a high level sol'n?]
> 
> Yes.  There is a high level solution:
> [C code for bitmap-shrinking algorithm]

I'm happy to say that Bill Atkinson already implemented a bitmap-shrinking 
algorithm many years ago, and it's sitting there in CopyBits waiting for 
you.  Just make the source and destination rectangles for CopyBits 
different sizes.

- Walt

--
Walter Smith                            wrs@apple.com, apple!wrs
Apple Computer, Inc.                    (408) 974-5892
My corporation disavows any knowledge of my activities on the network.