0030969: Coding Rules - refactor Quantity_Color.cxx color table definition
[occt.git] / tests / bugs / vis / bug24714
CommitLineData
3dfe95cd 1puts "============"
2puts "CR24714"
3puts "============"
4puts ""
5
6##################################
7# Test V3d_View::SetSize method
8##################################
9
10set aV "Driver1/Viewer1/View1"
11vinit name=$aV l=32 t=32 w=400 h=200
12vactivate $aV
13vclear
14
15box b 10 10 10
16vdisplay b
27af3052 17vfront
3dfe95cd 18vfit
19
20vviewparams -size 22
21
ccadc126 22vaspects -setwidth 5
3dfe95cd 23vmoveto 200 100
aaf8d6a9 24if { "[vreadpixel 200 9 rgb name]" != "CYAN" } {
3dfe95cd 25 puts "Error : the view projection size is incorrect!"
26}
27
5747059b 28checkview -screenshot -3d -path ${imagedir}/${test_image}.png