0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / v3d / dimensions / bug24293
CommitLineData
0d828ac8 1puts "============"
2puts "CR24293: Dimension flyout lines don't belong to the dimension sensitive entity."
3puts "============"
4puts ""
5
6pload VISUALIZATION
7vfont add [locate_data_file DejaVuSans.ttf] SansFont
8
9vinit View1
10vpoint lengthP1 0 0 0
11vpoint lengthP2 10 10 10
12vdimension dim1 -length -plane xoy -shapes lengthP1 lengthP2 -font SansFont
13vfit
14vmoveto 202 191
15
16set x_coord 272
17set y_coord 198
18checkcolor $x_coord $y_coord 0 1 1
19if { $stat != 1 } { puts "Error : Highlighting of length dimension is wrong." }
20
21vdump $imagedir/${casename}.png