6bbcfca1bffc770357bce7cc5c0861447c6baada
[occt.git] / tests / bugs / vis / bug22879
1 puts "============"
2 puts "OCC22879"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Possible bug in Opengl_togl_begin_layer_mode.cxx
7 #######################################################################
8
9 set BugNumber OCC22879
10
11 vinit
12
13 voverlaytext "Text Height=14" 10.0 10.0 14.0
14 voverlaytext "Text Height=25" 10.0 40.0 25.0
15 voverlaytext "Arial" 10.0 60.0 18.0 "Arial" 255.0 0.0 0.0
16 voverlaytext "Times New Roman" 10.0 80.0 20.0 "Times New Roman" 0.0 0.0 255.0
17 voverlaytext "Subtitle" 10.0 110.0 20.0 "Arial" 0.0 255.0 0.0 subtitle 76.5 76.5 76.5
18 voverlaytext "Decal" 10.0 140.0 20.0 "Arial" 0.0 0.0 255.0 decal 255.0 0.0 0.0
19 voverlaytext "Blend" 10.0 170.0 20.0 "Arial" 255.0 0.0 0.0 blend
20 box b 50 -700 450 50 50 50
21 vdisplay b
22 vsetdispmode 1
23 vsetcolor b ANTIQUEWHITE
24
25 checkcolor 24 55 0.75686198472976685 0 0
26 checkcolor 16 76 0 0 0.50195999999999996
27 checkcolor 26 107 0.18039199709892273 0.5686269998550415 0.180392
28 checkcolor 34 114 0.29803898930549622 0.29803898930549622 0.298039
29 checkcolor 24 131 0.61960697174072266 0 0
30 checkcolor 18 139 0.21568599343299866 0 0.78431300000000004
31 checkcolor 56 160 1 0 0
32 checkcolor 30 160 0 1 0.90980300000000003
33
34 set only_screen 1
35