0022785: Draw Harness - add possibility to remove a text drawn by the command vdrawtext
[occt.git] / tests / bugs / vis / bug25732_1
CommitLineData
348ff753 1puts "========"
2puts "OCC25732"
3puts "========"
4puts ""
5#########################################################################################
6# Visualization, TKOpenGl - back face culling should not affect textured font rendering
7#########################################################################################
8
9box b -100 0 -200 50 100 200
10
11vinit View1
12vclear
13vaxo
14
15vdisplay b
16vfit
17vsetdispmode b 1
18
29e2c6d2 19vdrawtext text "Open\nCASCADE" -pos 0 0 0 -color 1.0 0.0 0.0 -halign center -valign center -angle -45 -zoom 1 -height 50 -aspect regular -font Arial
348ff753 20
21set bug_info [vreadpixel 255 283 rgb name]
22if {$bug_info != "RED"} {
23 puts "ERROR: OCC25732 is reproduced. Text is missed."
24}
25
26set only_screen 1