0022785: Draw Harness - add possibility to remove a text drawn by the command vdrawtext
[occt.git] / tests / bugs / vis / bug23709_2
CommitLineData
0a768f56 1puts "============"
2puts "OCC23709"
3puts "============"
4puts ""
5############################################################################
6# Redesign of hlrtest command
7############################################################################
8
9pcone a 5 0 10
10box b 15 0 0 10 10 10
11vinit
12vdisplay a
13vdisplay b
14vrotate 35 0 0
15vfit
16vhlr on
17vhlrtype algo a
18
19set x_coord 290
20set y_coord 170
ccadc126 21vaspects -setwidth 5
22if { "[vreadpixel $x_coord $y_coord rgb name]" != "YELLOW" } {
23 puts "Error : color is not yellow"
24}
0a768f56 25
26set x_coord 86
27set y_coord 221
28checkcolor $x_coord $y_coord 0 0 0
29
30set only_screen 1