5 #######################################################################
6 # Development of improvement of dimensions implementation
8 #######################################################################
11 vfont add [locate_data_file DejaVuSans.ttf] SansFont
15 vpoint angle1P2 50 50 50
16 vpoint angle1P3 50 50 100
17 vdimension dim1 -angle -shapes angle1P1 angle1P2 angle1P3 -font SansFont
24 checkcolor $x_coord $y_coord 0 1 1
27 puts "Error : Highlighting of angle dimension with 2d text is wrong."
31 vpoint angle2P2 50 50 50
32 vpoint angle2P3 50 50 100
33 vdimension dim2 -angle -text 3d -shapes angle2P1 angle2P2 angle2P3 -font SansFont
40 checkcolor $x_coord $y_coord 0 1 1
43 puts "Error : Highlighting of angle dimension with 3d text is wrong."
46 checkview -screenshot -3d -path ${imagedir}/${test_image}.png