0030969: Coding Rules - refactor Quantity_Color.cxx color table definition
[occt.git] / tests / 3rdparty / fonts / A3
CommitLineData
a174a3c5 1puts "============"
2puts "OCC23457 Text rendering performance"
3puts "Test case performs rendering of single huge text label"
4puts "============"
5puts ""
6
6fb1a930 7vfont add [locate_data_file DejaVuSans.ttf] SansFont
8
a174a3c5 9vtrihedron trihedr
10
ac29d56a 11set aFileHandle [open [locate_data_file screw.step] r]
a174a3c5 12set aText [read $aFileHandle]
13close $aFileHandle
14
15vpoint p0 0 0 -400
16vpoint p1 0 10000 -400
17vpoint p2 1000 0 -400
18vfit
19
aaf8d6a9 20vdrawtext text "$aText" -pos 100 100 -400 -color CYAN -halign left -valign bottom -angle 000 -zoom 1 -height 50 -aspect regular -font SansFont
a174a3c5 21
22vfps
5747059b 23
24vglinfo
25checkview -screenshot -3d -path ${imagedir}/${test_image}.png