5 #######################################################################
6 # Possible bug in Opengl_togl_begin_layer_mode.cxx
7 #######################################################################
9 vfont add [locate_data_file DejaVuSans.ttf] SansFont
11 set BugNumber OCC22879
15 vdrawtext t1 "Text Height=14" -2d -perspos -1 1 -pos 10 -10 0 -height 14 -color WHITE -font SansFont
16 vdrawtext t2 "Text Height=25" -2d -perspos -1 1 -pos 10 -40 0 -height 25 -color WHITE -font SansFont
17 vdrawtext t3 "Arial" -2d -perspos -1 1 -pos 10 -60 0 -height 18 -font SansFont -color RED
18 vdrawtext t4 "Times New Roman" -2d -perspos -1 1 -pos 10 -80 0 -height 18 -font SansFont -color BLUE
19 vdrawtext t5 "Subtitle" -2d -perspos -1 1 -pos 10 -110 0 -height 20 -font SansFont -color GREEN -disptype subtitle -subcolor 0.3 0.3 0.3
20 vdrawtext t6 "Decal" -2d -perspos -1 1 -pos 10 -140 0 -height 20 -font SansFont -color BLUE -disptype decal -subcolor 1 0 0
21 vdrawtext t7 "Blend" -2d -perspos -1 1 -pos 10 -170 0 -height 20 -font SansFont -color RED -disptype blend
22 box b 50 -700 450 50 50 50
25 vsetcolor b ANTIQUEWHITE
27 checkcolor 24 55 0.753 0.000 0.000
28 checkcolor 16 76 0.000 0.000 1.000
29 checkcolor 25 107 0.000 1.000 0.000
30 checkcolor 34 114 0.298 0.298 0.298
31 checkcolor 24 131 0.922 0.000 0.000
32 checkcolor 18 139 0.145 0.000 0.855
33 checkcolor 56 160 1.000 0.000 0.000
34 checkcolor 30 160 0.188 0.761 0.698
36 checkview -screenshot -3d -path ${imagedir}/${test_image}.png