comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Buffer -> Window
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Buffer -> Window [message #44426 is a reply to message #44425] Mon, 13 June 2005 21:40 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
Michael Wallace wrote:
> I want to copy the contents of an IDLgrBuffer pixel by pixel to an
> IDLgrWindow of the same dimensions. What's the easiest way to do this?
> I do not want to redraw the graphics tree because redrawing the tree in
> the IDLgrWindow will result in a slightly different image due to
> differences in resolution between the buffer and window. I can see that
> I can get the individual pixels via the IMAGE_DATA property, but there
> seems to be no way to load the pixels directly into the IDLgrWindow.

No, the IMAGE_DATA property of an IDLgrWindow can be got but cannot be
sot (oops I mean "setted", no I mean "set").

You can create a view with an IDLgrImage and draw that to the window.
How you choose to size the image relative to the window, whether you fit
the image to the window (or vice versa or neither) is up to you.

--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with IDLWAVE in XEmacs 21.5.18
Next Topic: Fast editing of text file?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 15:39:45 PDT 2025

Total time taken to generate the page: 1.36259 seconds