0025133: TKOpenGl - Crash on closing a view containing presentations with capping
[occt.git] / tests / 3rdparty / fonts / A2
CommitLineData
40093367 1puts "============"
2puts "OCC21091"
3puts "OCC21450"
4puts "============"
5puts ""
6#vdrawtext: vdrawtext name X Y Z R G B hor_align ver_align angle zoomable height Aspect FONT
7#------------------------------------------------------
8# X\Y\Z - Position Of Text
9#------------------------------------------------------
10# R\G\B - Color Of Text
11#------------------------------------------------------
12# hor_align 0 to 3
13# HorizontalTextAlignment is HTA_LEFT 0
14# HTA_CENTER 1
15# HTA_RIGHT 2
16#
17# ver_align 0 to 4
18# VerticalTextAlignment is VTA_BOTTOM 0
19# VTA_CENTER 1
20# VTA_TOP 2
21#------------------------------------------------------
22# angle - angle turn of text. this variable in degrees
23#------------------------------------------------------
24# zoomable - if this variable "0" text not zoomable
25# if this variable "1" text zoomable as object in DrawCommands
26#------------------------------------------------------
27# height - Font Height
28#------------------------------------------------------
29# Aspect - Aspect Font 0 to 4
30# If in list of textfont, not find font with necessary aspect, will be used default font "Courier" with OSD_FA_Regular aspect
31# FontAspect is FA_Undefined, FA_Regular, FA_Bold, FA_Italic, FA_BoldItalic
32# - 0 - - 1 - - 2 - - 3 - - 4 -
33#------------------------------------------------------
34# FONT - font name of font
35# If in list of textfont, not find font with necessary Name, will be used default font "Courier"
36#
37
38vtrihedron trihedr
39
40vpoint p1 100 100 -400
41vpoint p2 000 000 -400
42vpoint p3 -100 -100 -400
43vdrawtext OpenCascade 100 100 -400 000 255 255 0 0 000 1 50 1 Times-Roman
44vdrawtext OpenCascade 000 000 -400 000 255 255 1 0 000 1 50 1 Times-Roman
45vdrawtext OpenCascade -100 -100 -400 000 255 255 2 0 000 1 50 1 Times-Roman
46
47vpoint p4 100 100 -500
48vpoint p5 000 000 -500
49vpoint p6 -100 -100 -500
50vdrawtext OpenCascade 100 100 -500 255 000 000 0 2 000 1 50 1 Times-Roman
51vdrawtext OpenCascade 000 000 -500 255 000 000 1 2 000 1 50 1 Times-Roman
52vdrawtext OpenCascade -100 -100 -500 255 000 000 2 2 000 1 50 1 Times-Roman
53
54vpoint p7 100 100 -450
55vpoint p8 000 000 -450
56vpoint p9 -100 -100 -450
57vdrawtext OpenCascade 100 100 -450 005 255 000 0 1 000 1 50 1 Times-Roman
58vdrawtext OpenCascade 000 000 -450 005 255 000 1 1 000 1 50 1 Times-Roman
59vdrawtext OpenCascade -100 -100 -450 005 255 000 2 1 000 1 50 1 Times-Roman
60
61
62vdrawtext _.Left._ 200 200 200 255 255 255 0 0 000 1 50 1 Times-Roman
63vdrawtext _.Left._ 200 200 200 255 255 000 0 0 090 1 50 1 Times-Roman
64
65vdrawtext _.Right._ 200 200 200 255 000 255 2 2 000 1 50 1 Times-Roman
66vdrawtext _.Right._ 200 200 200 255 155 150 2 2 090 1 50 1 Times-Roman
67
68vdrawtext _.0123456789._ 200 200 200 000 000 255 1 1 045 1 50 1 Times-Roman
69vdrawtext _.0123456789._ 200 200 200 255 000 000 1 1 -45 1 50 1 Times-Roman
70
71vdrawtext _.~!@#$%^&*:?|+-._ -200 000 400 255 000 000 0 0 0 1 50 1 Times-Roman
72
73box atextbox -100 -100 -100 -200 -200 -200
74vdisplay atextbox
75
76vdrawtext OpenCascade -300 -300 -300 000 255 000 0 0 000 0 15 1 Courier
77vdrawtext OpenCascade -300 -300 -100 000 255 000 0 0 000 0 15 1 Courier
78vdrawtext OpenCascade -100 -100 -300 000 255 000 0 0 000 0 15 1 Courier
79vdrawtext OpenCascade -100 -100 -100 000 255 000 0 0 000 0 15 1 Courier
80
81vdrawtext OpenCascade -300 -100 -300 000 255 000 0 0 000 0 15 1 Courier
82vdrawtext OpenCascade -100 -300 -300 000 255 000 0 0 000 0 15 1 Courier
83vdrawtext OpenCascade -300 -100 -100 000 255 000 0 0 000 0 15 1 Courier
84vdrawtext OpenCascade -100 -300 -100 000 255 000 0 0 000 0 15 1 Courier
85
86vdrawtext OpenCascade -200 -200 100 255 000 255 0 0 010 0 15 1 Times-Roman
87vdrawtext OpenCascade -200 -200 150 000 255 255 0 0 010 0 15 1 Arbat
88vdrawtext OpenCascade -200 -200 200 255 255 000 0 0 010 0 15 3 Elephant
89vdrawtext OpenCascade -200 -200 250 000 255 005 0 0 010 0 15 4 RockWell
90vdrawtext OpenCascade -200 -200 300 255 000 005 0 0 010 0 15 1 Webdings
91vdrawtext OpenCascade -200 -200 350 255 000 205 0 0 010 0 15 1 Arial