Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!umriscc!mcs213f.cs.umr.edu!mcastle From: mcastle@mcs213f.cs.umr.edu (Mike Castle) Newsgroups: comp.lang.pascal Subject: Re: Saving graphics screen to file in TP 5.5 Message-ID: <1666@umriscc.isc.umr.edu> Date: 14 Nov 90 21:55:29 GMT References: <90318.10233434ZL4RT@CMUVM.BITNET> Sender: news@umriscc.isc.umr.edu Organization: University of Missouri - Rolla Lines: 19 In article <90318.10233434ZL4RT@CMUVM.BITNET> 34ZL4RT@CMUVM.BITNET (Nilesh) writes: >Hi, >I am writing a structure diagram editor using the graphics mode in TP 5.5 >and would like to save the screen image to disk for retrieval later. I have >no idea how to go about doing this and would be grateful if someone could >help me out. Magical source code would be highly appreciated. >Thanks, > >Nilesh >(34zl4rt @ cmuvm ) Might try using GetImage/PutImage to put part of the screen into an array, and then using BlockWrite/BlockRead to put it onto disk. -- Mike Castle (Nexus) S087891@UMRVMA.UMR.EDU (preferred) | ERROR: Invalid mcastle@mcs213k.cs.umr (unix mail-YEACH!)| command 'HELP' Life is like a clock: You can work constantly, and be right | try 'HELP' all the time, or not work at all, and be right twice a day. |