Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mandrill!gatech!udel!rochester!pt.cs.cmu.edu!andrew.cmu.edu!sg1q+
From: sg1q+@andrew.cmu.edu (Simon Peter Gatrall)
Newsgroups: comp.sys.mac.programmer
Subject: Zooming with MacApp
Message-ID: 
Date: 6 Jul 88 07:25:39 GMT
Organization: Carnegie Mellon
Lines: 12
In-Reply-To: <13094@apple.Apple.COM>

I'm in the process of writing a graphics application in MacApp.  Most of the
stuff I've done so far has been relatively easy.  Now I need to impliment
zooming as per MacDraw and like applications.  I think I know how to do it by
brute force, but I'm hoping there is some easy way that I'm missing.  If I
handle all of the objects as picts, then my draw methods just need to resize
the destination rect inorder to scale them.  Then I have to worry about hit
testing and all kinds of junk.  I'm hoping that there is some simple MacApp
variable or something that I can zoom with.

Anybody out there have any experience with this sort of thing?

-Simon Gatrall          sg1q+@andrew.cmu.edu