home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18448 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  1.8 KB

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