1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/bugs/vis/bug22796_1
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

21 lines
590 B
Plaintext
Executable File

puts "============"
puts "OCC22796"
puts "============"
puts ""
#######################################################################
# Possibility to display multi-line text in 3D
#######################################################################
vfont add [locate_data_file DejaVuSans.ttf] SansFont
set BugNumber OCC22796
vinit
vdrawtext text0 "MyTest1\rHello,\tWor\vld!\nMyTest2\t\a\bMyTest3" -pos 0 0 0 -color 1.0 1.0 1.0 -halign left -valign bottom -angle 0 -zoom 1 -height 50 -aspect regular -font SansFont
checkview -screenshot -3d -path ${imagedir}/${test_image}.png