Home »
Public Forums »
archive »
Re: Zooming Object Graphics
Re: Zooming Object Graphics [message #35324] |
Wed, 11 June 2003 11:02 |
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
|
|
|
Current Time: Fri Oct 10 10:29:27 PDT 2025
Total time taken to generate the page: 0.72253 seconds