[comp.windows.news] imagecanvas problem?

korp@TRIPOLI.EES.ANL.GOV (02/18/90)

We have a program that works fine in NeWS 1.1 but barfs in OpenWindows.
The problem is as follows:

   We create an offscreen "buffer" canvas. We proceed to draw to this canvas
and then use imagecanvas to copy the contents of the buffer to an
onscreen ClientCanvas. In OpenWindows this simply does not work. Imagecanvas
works when used with a canvas generated with readcanvas, but breaks with
any other canvas.
   In dumping the canvas created by readcanvas the field orphaned is true.
There seems no way for me to create an orphaned canvas though. Am I missing
something?
   A while back we posted a message about fill and stroke being broken in
OpenWindows. The replys I received could not duplicate the problem. We
have pinpointed the problem, fill and stroke do not implicitly do a newpath
as they should. Thanks to all who sent messages.

			Peter
			Argonne National Laboratory