mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
Replaced QAMoveTo, QASelect and QAShiftSelect draw commands with vmoveto and vselect Moved vselect and vmoveto draw commands to ViewerTest_ViewerCommands.cxx Replaced QAMoveTo and QASelect in test cases. Corrected returned error case result in vselect and vmoveto. Added commands in ViewerTest_ViewerCommands from QADraw. Edited tests. QACommands in tests were replaced with ViewerTest commands. QAxwd command was removed from QADraw. Edited command wzoom and commands from ViewerTest. Help for ViewerTest commands was edited Small corrections. Added test cases for polygonal selection. Small correction of test cases
31 lines
440 B
Plaintext
Executable File
31 lines
440 B
Plaintext
Executable File
puts "========"
|
|
puts "OCC280"
|
|
puts "3. Fitall on perspective view does not fit all properly"
|
|
puts "========"
|
|
|
|
vinit
|
|
box b 100 900 300
|
|
vdisplay b
|
|
vsetdispmode b 1
|
|
|
|
OCC280 0 1
|
|
|
|
set x_coord 10
|
|
set y_coord 240
|
|
|
|
puts "Before View->FitAll()"
|
|
|
|
checkcolor $x_coord $y_coord 0 0 0
|
|
|
|
vfit
|
|
|
|
puts "After View->FitAll()"
|
|
|
|
checkcolor $x_coord $y_coord 0.78 0.55 0.9
|
|
|
|
if { $stat != 1 } {
|
|
puts "Error : Function vfit works wrongly"
|
|
}
|
|
|
|
set only_screen 1
|