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

Home » Public Forums » archive » Re: Zooming Object Graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Zooming Object Graphics [message #35324] Wed, 11 June 2003 11:02
MKatz843 is currently offline  MKatz843
Messages: 98
Registered: March 2002
Member
darrick.white@med.ge.com (Darrick White) wrote in message news:<e5624c04.0306110502.3b4942e9@posting.google.com>...
> I'm trying to zoom a 2-D image without data transformation. I'm
> . . . Any ideas on how to make any
> size image seem symmetrical when using the zoom feature?

Why don't you keep track of the aspect ratio (height/width) of the
graphics window. Then, from the XYcenter and Width of your
Viewplane_Rect, you should be able to calculate the Height
in such a way that the pixels in your image are always square.

M. Katz
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Transparent PNG file in PowerPoint
Next Topic: Re: IDL Question - Opposite of WHERE?

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

Current Time: Fri Oct 10 10:29:27 PDT 2025

Total time taken to generate the page: 0.72253 seconds