home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!agate!doug
- From: doug@perry.berkeley.edu (Doug Neuhauser)
- Newsgroups: alt.toolkits.xview
- Subject: SunView memory pixrects in Xview?
- Date: 22 Jan 1993 22:13:44 GMT
- Organization: UC Berkeley
- Lines: 21
- Distribution: world
- Message-ID: <1jprio$5nu@agate.berkeley.edu>
- NNTP-Posting-Host: perry.berkeley.edu
- Originator: doug@perry.berkeley.edu
-
-
- I have a SunView application that I am converting to XView. I started with
- the "convert_to_xview" and cleaned up all of the code from there.
-
- The problem is that the program makes heavy use of SunView Pixrects.
- It was designed to:
- a. create a memory Pixrect using mem_create.
- b. draw a base map into that pixrect using pr_rop and pr_vector.
- c. copy the basemap into the canvas pixwin using pw_rop whenever it needs
- to reload the basemap into the canvas.
-
- mem_create does not appear to be part of the XView package, and there is a
- dirth of information on the Pixrect support.
-
- What's the best approach to take with this application (other than a boat
- anchor or shotgun).
- --
- ----------------------------------------------------------------
- Doug Neuhauser Seismographic Station
- doug@perry.berkeley.edu ESB 475, UC Berkeley
- Phone: 510-642-0931 Berkeley, CA 94720
-