Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ucselx!ucsd!usc!apple!keith From: keith@Apple.COM (Keith Rollin) Newsgroups: comp.sys.mac.programmer Subject: Re: Dragging Bitmaps? Message-ID: <42700@apple.Apple.COM> Date: 6 Jul 90 16:58:37 GMT References: <3398@husc6.harvard.edu> <1741@mountn.dec.com> <13874@unix.SRI.COM> Organization: Apple Computer Inc, Cupertino, CA Lines: 36 In article <13874@unix.SRI.COM> mxmora@unix.UUCP (Matt Mora) writes: >In article <1741@mountn.dec.com> minow@bolt.enet.dec.com (Martin Minow) writes: >>In article <3398@husc6.harvard.edu> siegel@endor.harvard.edu (Rich Siegel) >>writes: >>> >>>Does anyone have any suggestions on how to drag small bitmaps around, in the >>>same fashion as MacPaint? >> >>Look through MacTutor back issues for an article on "animated bitmaps" -- > >Also look at Apples sample code on offscreen bitmaps. The code lets you >drag small bitmaps around and looks real smooth. I had a tough time trying >to get it to work in THINK pascal but should be no problem for you. It also >comes in C. > >The program also lets you toggle the offscreen bitmaps on and off to see >the differnce with using multiple bitmaps. > >I think the code was based on their new Gworld stuff. I can't remember its >been a while since I played with it. Thanks for the plug, Matt. However, those routines do NOT rely (or even use) the new GWorld routines in 32-bit Color QuickDraw, so they'll work on any Macintosh. Also, they were written way before 32bcqd was available. A couple of people here have taken a look at what it would take to backfit the GWorld routines onto our OffScreen unit, but initial estimates indicate that it would take a bit of work, and none of our graphics support people have had the time to undertake the task yet. We'll get to it someday, though... -- ------------------------------------------------------------------------------ Keith Rollin --- Apple Computer, Inc. --- Developer Technical Support INTERNET: keith@apple.com UUCP: {decwrl, hoptoad, nsc, sun, amdahl}!apple!keith "Argue for your Apple, and sure enough, it's yours" - Keith Rollin, Contusions