0022785: Draw Harness - add possibility to remove a text drawn by the command vdrawtext
[occt.git] / tests / bugs / vis / bug25121
CommitLineData
353474f0 1puts "================"
2puts "OCC25121"
3puts "================"
4puts ""
5#######################################################################################
6# Visualization, OpenGl_Text - correct scaling factor for fixed-size text at 3D point
7#######################################################################################
8
9vinit
10
11box b -5 -5 0 10 10 1
12vdisplay -noupdate b
13vtop
14vfit
15
29e2c6d2 16vdrawtext 000_3D "000 3D" -pos 0.0 0.0 0.0 -color 1.0 1.0 1.0 -halign center -valign center -angle 000 -zoom 0 -height 16 -aspect regular -font Courier
17vdrawtext 001_3D "001 3D" -pos 0.0 1.0 0.0 -color 1.0 1.0 1.0 -halign center -valign center -angle 000 -zoom 0 -height 16 -aspect regular -font Courier
18vdrawtext 101_3D "101 3D" -pos 0.0 2.0 0.0 -color 1.0 1.0 1.0 -halign center -valign center -angle 000 -zoom 0 -height 16 -aspect regular -font Courier
19vdrawtext 110_3D "110 3D" -pos 0.0 3.0 0.0 -color 1.0 1.0 1.0 -halign center -valign center -angle 000 -zoom 0 -height 16 -aspect regular -font Courier
353474f0 20voverlaytext "000 2D" 100 200 16 Courier 255 255 255 normal 0 0 255
21voverlaytext "001 2D" 100 250 16 Courier 255 255 255 normal 0 0 255
22voverlaytext "101 2D" 100 300 16 Courier 255 255 255 normal 0 0 255
23voverlaytext "110 2D" 100 350 16 Courier 255 255 255 normal 0 0 255
24
25set only_screen 1