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

Home » Public Forums » archive » Re: CW_ZOOM problem
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: CW_ZOOM problem [message #56708 is a reply to message #56706] Sat, 10 November 2007 13:29 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Nov 10, 3:19 pm, kerbe...@gmail.com wrote:
> Good day everyone
>
> i want use CW_ZOOM in my program. As i looked in IDL online help
> CW_ZOOM must have XSIZE and YSIZE equal zoomed image dimensions.
>
> Example in documentation very nice, but i don't know what size of
> image user choose ?
> Does it possible to define XSIZE and YSIZE at runtime ?
>
> Best wishes

Just like in the documentation use size() to find the dimensions and
pass them via the xsize and ysize keywords.

sz = size(image,/dimensions)
base = widget_base(/column)
result = cw_zoom(base,xsize=sz[0],ysize=sz[1],uvalue='ZOOM')
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: CW_ZOOM problem
Next Topic: Re: IDL T-Shirt Has Arrived!

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

Current Time: Sun Oct 12 14:47:37 PDT 2025

Total time taken to generate the page: 0.61027 seconds