0022785: Draw Harness - add possibility to remove a text drawn by the command vdrawtext
[occt.git] / tests / demo / draw / bug23745
CommitLineData
fe551aef 1puts "============"
2puts "OCC23745"
3puts "============"
4puts ""
5######################################################
6# Draw Harness, ViewerText - vdrawtext command should not modify global text aspect
7######################################################
8
9pload QAcommands
10pload VISUALIZATION
11
12vinit
29e2c6d2 13vdrawtext text0 "ANOTHERBUG" -pos 100 100 100 -color 1.0 0.0 0.0 -halign left -valign bottom -angle 0 -zoom 1 -height 50 -aspect regular
fe551aef 14vtrihedron trihedron
15
16set x 239
17set y 216
18set R 1
19set G 1
20set B 0
21checkcolor ${x} ${y} ${R} ${G} ${B}
22
23vdump ${imagedir}/${casename}.png
24
25puts "TEST COMPLETED"