anon@usl.edu (02/09/90)
I am currently programming in sunview(sunwindows) for a class project. I created a canvas window of size 1100(height), 700(width) with CANVAS_AUTO_SHRINK set to FALSE to edit & view a canvas of size 2500, 1100 (width, height). I am drawing onto the canvas using the canvas' pixwin. I want to SAVE my drawing on the CANVAS into a FILE(People familiar with 'fig' may know that it is similar). I used pw_read to read the flowchart into a pixrect and then used pr_dump_image to dump the pixrect into a file. It did not work. I tried many variations but could not get it to save. I went thro' the sunview system's programmer's manual also and did not find a way to do it (I don't know if I missed any info' :-)). Also I want to LOAD the drawing from the FILE onto the CANVAS. If Anyone has worked on this particular aspect in sunview, please send me your suggestions/methods to do it(save canvas onto a file & load onto the canvas from a file) and save this soul!! PLEASE mail your suggestions to me at the earliest possible. Thanx in advance, (E-mail address: rrv@cacs.usl.edu)