0030969: Coding Rules - refactor Quantity_Color.cxx color table definition
[occt.git] / tests / 3rdparty / fonts / A6
CommitLineData
a174a3c5 1puts "============"
2puts "OCC23457 Text rendering performance"
3puts "Test case prints 3D labels with different text alignment styles and extra spaces in it"
4puts "============"
5puts ""
6
5b377041 7set THE_FONT_NAME sans-serif
8dtracelevel trace
9vfont -verbose 1
6fb1a930 10
a174a3c5 11vtrihedron trihedr
12
13vpoint pTL -700 100 600
aaf8d6a9 14vdrawtext Text0 " Top-Left\nFirst line \nLion The Second\n 3rd " -pos -700 100 600 -color CYAN -halign left -valign top -angle 000 -zoom 0 -height 14 -aspect bold -font $THE_FONT_NAME
a174a3c5 15
16vpoint pTC 0 100 600
aaf8d6a9 17vdrawtext Text1 " Top-Center\nFirst line \nLion The Second\n 3rd " -pos 0 100 600 -color CYAN -halign center -valign top -angle 000 -zoom 0 -height 14 -aspect bold -font $THE_FONT_NAME
a174a3c5 18
19vpoint pTR 700 100 600
aaf8d6a9 20vdrawtext Text2 " Top-Right\nFirst line \nLion The Second\n 3rd " -pos 700 100 600 -color CYAN -halign right -valign top -angle 000 -zoom 0 -height 14 -aspect bold -font $THE_FONT_NAME
a174a3c5 21
22vpoint pCL -700 100 -100
aaf8d6a9 23vdrawtext Text3 " Center-Left\nFirst line \nLion The Second\n 3rd " -pos -700 100 -100 -color WHITE -halign left -valign center -angle 000 -zoom 0 -height 14 -aspect bold -font $THE_FONT_NAME
a174a3c5 24
25vpoint pCC 0 100 -100
aaf8d6a9 26vdrawtext Text4 " Center-Center\nFirst line \nLion The Second\n 3rd " -pos 0 100 -100 -color WHITE -halign center -valign center -angle 000 -zoom 0 -height 14 -aspect bold -font $THE_FONT_NAME
a174a3c5 27
28vpoint pCR 700 100 -100
aaf8d6a9 29vdrawtext Text5 " Center-Right\nFirst line \nLion The Second\n 3rd " -pos 700 100 -100 -color WHITE -halign right -valign center -angle 000 -zoom 0 -height 14 -aspect bold -font $THE_FONT_NAME
a174a3c5 30
31vpoint pBL -700 100 -700
aaf8d6a9 32vdrawtext Text6 " Bottom-Left\nFirst line \nLion The Second\n 3rd " -pos -700 100 -700 -color YELLOW -halign left -valign bottom -angle 000 -zoom 0 -height 14 -aspect bold -font $THE_FONT_NAME
a174a3c5 33
34vpoint pBC 0 100 -700
aaf8d6a9 35vdrawtext Text7 " Bottom-Center\nFirst line \nLion The Second\n 3rd " -pos 0 100 -700 -color YELLOW -halign center -valign bottom -angle 000 -zoom 0 -height 14 -aspect bold -font $THE_FONT_NAME
a174a3c5 36
37vpoint pBR 700 100 -700
aaf8d6a9 38vdrawtext Text8 " Bottom-Right\nFirst line \nLion The Second\n 3rd " -pos 700 100 -700 -color YELLOW -halign right -valign bottom -angle 000 -zoom 0 -height 14 -aspect bold -font $THE_FONT_NAME
a174a3c5 39
40vfit
a174a3c5 41vfps
5747059b 42
43vglinfo
44checkview -screenshot -3d -path ${imagedir}/${test_image}.png