Thread View: comp.windows.misc
1 messages
1 total messages
Started by RamamohanRao Vakkalagadda
Thu, 08 Feb 1990 00:53
SAVING & LOADING a CANVAS to a FILE (HELP!!!!!!!!)
Author: RamamohanRao Vakkalagadda
Date: Thu, 08 Feb 1990 00:53
Date: Thu, 08 Feb 1990 00:53
34 lines
1914 bytes
1914 bytes
Hi, I am new to this newsgroup and I don't know if this topic has already been discussed on the net. Forgive me if that is the case. If already some articles came on this subject please mail them to me. Anyway here goes my question: 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, RAM (E-mail address: rrv@cacs.usl.edu)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads