home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / toolkits / xview / 1232 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.2 KB

  1. Path: sparky!uunet!stanford.edu!agate!doug
  2. From: doug@perry.berkeley.edu (Doug Neuhauser)
  3. Newsgroups: alt.toolkits.xview
  4. Subject: SunView memory pixrects in Xview?
  5. Date: 22 Jan 1993 22:13:44 GMT
  6. Organization: UC Berkeley
  7. Lines: 21
  8. Distribution: world
  9. Message-ID: <1jprio$5nu@agate.berkeley.edu>
  10. NNTP-Posting-Host: perry.berkeley.edu
  11. Originator: doug@perry.berkeley.edu
  12.  
  13.  
  14. I have a SunView application that I am converting to XView.  I started with
  15. the "convert_to_xview" and cleaned up all of the code from there.
  16.  
  17. The problem is that the program makes heavy use of SunView Pixrects.
  18. It was designed to:
  19. a.  create a memory Pixrect using mem_create.
  20. b.  draw a base map into that pixrect using pr_rop and pr_vector.
  21. c.  copy the basemap into the canvas pixwin using pw_rop whenever it needs
  22. to reload the basemap into the canvas.
  23.  
  24. mem_create does not appear to be part of the XView package, and there is a
  25. dirth of information on the Pixrect support.
  26.  
  27. What's the best approach to take with this application (other than a boat
  28. anchor or shotgun).
  29. -- 
  30. ----------------------------------------------------------------
  31. Doug Neuhauser            Seismographic Station
  32. doug@perry.berkeley.edu     ESB 475, UC Berkeley
  33. Phone: 510-642-0931        Berkeley, CA  94720
  34.