0024387: Tests - use system-independent fonts in test cases
[occt.git] / tests / bugs / vis / bug24133_1
CommitLineData
a6eb515f 1puts "============"
2puts "CR24133"
3puts "============"
4puts ""
5#######################################################################
6# Development of improvement of dimensions implementation
7# Length dimension
8#######################################################################
9pload VISUALIZATION
10
6fb1a930 11vfont add [locate_data_file DejaVuSans.ttf] SansFont
12
a6eb515f 13vinit
14vpoint lengthP1 0 0 0
15vpoint lengthP2 50 50 50
6fb1a930 16vdimension dim1 -length -plane xoy -shapes lengthP1 lengthP2 -font SansFont
a6eb515f 17vfit
d7bffd44 18vmoveto 82 254
a6eb515f 19
d7bffd44 20set x_coord 362
21set y_coord 102
a6eb515f 22checkcolor $x_coord $y_coord 0 1 1
23if { $stat != 1 } {
24 puts "Error : Highlighting of length dimension is wrong."
25}
26
27set only_screen 1