mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-06 10:36:12 +03:00
Function locate_data_file is used instead of direct path in 3rdparty fonts tests DE tests changed to produce PNG images
21 lines
448 B
Plaintext
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
|