mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-26 11:05:31 +03:00
Adding procedures checkcolor and checkpoint. Modified test cases which are used QAGetPixelColor or QAAISGetPixelColor2d Allow using command QAAISGetPixelColor2d on WNT Rename test case tests/bugs/vis/bug19619 to pro19619 Added test cases to modalg and moddata
30 lines
499 B
Plaintext
Executable File
30 lines
499 B
Plaintext
Executable File
puts "========"
|
|
puts "OCC155"
|
|
puts "OCC190"
|
|
puts "========"
|
|
puts ""
|
|
#####################################
|
|
##puts "Creating of Vertexes 2D"
|
|
##puts "(visual checking for this case is desirable)"
|
|
#####################################
|
|
v2dinit
|
|
|
|
vertex v_v 0 0 0
|
|
vertex v_v1 100 100 0
|
|
v2ddisplay v_v
|
|
v2ddisplay v_v1
|
|
v2dfit
|
|
|
|
set x_coord 405
|
|
set y_coord 7
|
|
set color2d 1
|
|
|
|
checkcolor $x_coord $y_coord 1 1 0
|
|
|
|
if { $stat != 1 } {
|
|
puts "Error : Vertexes 2D were NOT LOADED properly"
|
|
}
|
|
|
|
set only_screen2d 1
|
|
|