1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-06 10:36:12 +03:00
abv ac29d56ac7 0023953: Avoid unjustified use of $CASROOT and exporting to GIF in tests
Function locate_data_file is used instead of direct path in 3rdparty fonts tests
DE tests changed to produce PNG images
2013-05-16 11:40:49 +04:00

21 lines
448 B
Plaintext

puts "============"
puts "OCC23457 Text rendering performance"
puts "Test case performs rendering of single huge text label"
puts "============"
puts ""
vtrihedron trihedr
set aFileHandle [open [locate_data_file screw.step] r]
set aText [read $aFileHandle]
close $aFileHandle
vpoint p0 0 0 -400
vpoint p1 0 10000 -400
vpoint p2 1000 0 -400
vfit
vdrawtext "$aText" 100 100 -400 000 255 255 0 0 000 1 50 1 Times-Roman
vfps