home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!emory!swrinde!zaphod.mps.ohio-state.edu!rpi!vccnw07.its.rpi.edu!johnsd2
- From: johnsd2@vccnw07.its.rpi.edu.its1 (Daniel Norman Johnson)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: PICT Updates and Refreshes
- Message-ID: <4fv1rnj@rpi.edu>
- Date: 16 Nov 92 00:52:16 GMT
- Article-I.D.: rpi.4fv1rnj
- References: <19921115.155946.640@almaden.ibm.com>
- Reply-To: johnsd2@vccnw07.its.rpi.edu.its1
- Organization: Sun Microsystems, Inc.
- Lines: 30
- Nntp-Posting-Host: vccnw07.its.rpi.edu
-
- In article 640@almaden.ibm.com, mgraf@sydvm1.VNET.IBM.COM (Michael Graf) writes:
- > Can anyone please provide me with some hints, pointers, advice or
- >code to help me handle updates to a PICT (read in from a resource) within
- >a window. I would like to only have to refresh portions of the PICT, rather
- >than refresh the entire window, based on the current Update Region.
- >
- > Basically, I read in a specific PICT resource and display it in a window.
- >Then as the user makes updates, I would like to only update (via the
- >update event or program controlled) certain potions. I could read in the
- >PICT again and display it but this is very slow and inefficient, considering
- >all the other objects currently shown.
- > There MUST be a better way !!
- >
- > Is it possible to READ IN and display portions of a PICT resource ?
- >or Read in and store it elsewhere and then move portions of it around ?
- >or Update specific portions easily ?
- >
- > Any help, advice or suggestions would be most gratefully received.
- > Thanx in advance, for the help....
- >
-
- Perhaps you could set up a GWorld or something, write teh PICT to that
- and tehn copybits to the window? This would be very fast.
-
- ---
- - Dan Johnson
- And God said "Jeeze, this is dull"... and it *WAS* dull. Genesis 0:0
-
- These opinions have had all identifiying marks removed, and are untraceable.
- You'll never know whose they are.
-