[vtkusers] Non-square pixels and SetPixelAspect()

John Platt jcplatt at lineone.net
Tue Jul 5 14:11:35 EDT 2005

Hi All,


Maybe it's because I'm an engineer but I expected a square in world
coordinates to be displayed as a square on my monitor.


I measured a 700 x 700 window as 231 x 246 mm and concluded the pixels
are not square but have an aspect ratio of approximately 0.94 : 1. Using
vtkViewPort::SetPixelAspect( 0.94, 1) and the comments in bug #626, the
view is now square.


Does anyone know how to get the pixel aspect ratio on Win32 without
using a rule?


Many thanks







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050705/2bd1f3e4/attachment.htm>

More information about the vtkusers mailing list