[vtkusers] Non-square pixels and SetPixelAspect()
jcplatt at lineone.net
Tue Jul 5 14:11:35 EDT 2005
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers