Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!noose.ecn.purdue.edu!orchestra.ecn.purdue.edu!songer From: songer@orchestra.ecn.purdue.edu (Christopher M Songer) Newsgroups: comp.sys.next Subject: Caching Images for Views .... Message-ID: <1991May15.161837.27550@noose.ecn.purdue.edu> Date: 15 May 91 16:18:37 GMT Sender: root@noose.ecn.purdue.edu (ECN System Management) Distribution: usa Organization: Purdue University Engineering Computer Network Lines: 21 Hi, I'm looking to put a Postscript image in a view smaller than the total image -- ie, I would like to be able to scroll around in it. I looked through the concepts manual and it seemed to indicate that the best way to do fast updates is to draw to a bitmap and then copy the bit map into the view (no suprise there.) The on-line manual describes a "Bitmap" object. It does not seem to be present in 2.0. I looked through the Yap source code, to find the creation of the cache it uses. Somehow, it seemed to be using a "Window" object as the cache. The overall effect is that I am pretty in the dark as to how to first get a bit map and then draw to it. If some kind soul has a simple piece of sample code or can explain what is going on to me, I'd really apprecaite it. I'm sure it is not hard, but my hard copy docs are still (still still still still ...) on order and I am having a tough time pulling what I need out of the on-line stuff. Thanks! -Chris songer@ecn.purdue.edu