2 puts "0026357: Visualization - Panning zooms view if aspect ratio > 1"
9 vinit View1 w=400 h=400
10 vinit View2 w=200 h=400
11 vinit View3 w=400 h=200
13 vdisplay -dispMode 1 -highMode 1 b
15 # Test panning with aspect ratio 1:1
21 if { [vreadpixel 399 200 rgb name] != "CYAN2" } { puts "Error: incorrect color after forward panning in View1" }
24 if { [vreadpixel 200 200 rgb name] != "CYAN2" } { puts "Error: incorrect color after backward panning in View1" }
25 vdump ${imagedir}/${casename}_1.png
27 # Test panning with aspect ratio 1:2
33 if { [vreadpixel 199 100 rgb name] != "CYAN2" } { puts "Error: incorrect color after forward panning in View2" }
36 if { [vreadpixel 100 100 rgb name] != "CYAN2" } { puts "Error: incorrect color after backward panning in View2" }
37 vdump ${imagedir}/${casename}_2.png
39 # Test panning with aspect ratio 2:1
45 if { [vreadpixel 399 100 rgb name] != "CYAN2" } { puts "Error: incorrect color after forward panning in View3" }
48 if { [vreadpixel 200 100 rgb name] != "CYAN2" } { puts "Error: incorrect color after backward panning in View3" }
49 vdump ${imagedir}/${casename}_3.png