Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!mcnc!unc!turner From: turner@unc.cs.unc.edu (Douglass Turner) Newsgroups: comp.windows.x Subject: Screendumps Message-ID: <1308@unc.cs.unc.edu> Date: Wed, 16-Sep-87 18:45:02 EDT Article-I.D.: unc.1308 Posted: Wed Sep 16 18:45:02 1987 Date-Received: Sat, 19-Sep-87 12:08:21 EDT Organization: CS Dept., U. of N. Carolina, Chapel Hill Lines: 27 Keywords: Screendump, Pixmap, Window I know someone out there can tell me how to do the following: I want to create a window using a background pixmap that I have generated previously. So the pixmap is in a file and I wish to read it into a buffer and slap it up on a window. The application is a tool that displays floorplans of a building, I figure I first write a little program to draw a floorplan using XLine(), save the window Pixmap using PixmapGetXY(), and write the data to a file. When I fire up the application I suck the file in from disk and make a Pixmap from it with XStorePixmapXY() for use as a Window background. Should be a piece of cake right? Hmmm.... My first attempt has already crashed one mVax and, well... you get the picture. Any guidance from the X-men and X-women out there would be great. Thanks, Doug Turner