[comp.sys.mac.programmer] Zooming with MacApp

sg1q+@andrew.cmu.edu (Simon Peter Gatrall) (07/06/88)

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