Debian Codegraph @

doc/man/man3/ivm/nodes/SoFontStyle.ivm

raw
1 NAME SoFontStyle "" "" { simple 3D text shape node }
2
3 INCLUDE nodes/SoFontStyle.h
4
5 DESC {
6 This node defines the current font family and style for all
7 subsequent text shapes in the scene graph.
8 }
9
10 ENUM Family {
11 SERIF "Use Serif style (such as Times-Roman)",
12 SANS "Use Sans Serif style (such as Helvetica)",
13 TYPEWRITER "Use fixed pitch style (such as Courier)"
14 }
15
16 ENUM Style {
17 NONE "No modification to Family",
18 BOLD "Embolden Family",
19 ITALIC "Italicize or Slant Family"
20 }
21
22 FIELD family {
23 Defines the family of font to use.
24 }
25
26 FIELD style {
27 Defines style modifications to the chosen font, either bold or italic or no change.
28 }
29
30 METHOD "" SoFontStyle() {
31 Creates a font style node with default settings.
32 }
33
34 METHOD "" static SoType getClassTypeId() {
35 Returns type identifier for this class.
36 }
37
38 METHOD "" SbString getFontName() {
39 Returns the font name used by this node based on the settings of family and style.
40 }
41
42 ACTION SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction,
43 SoRayPickAction {
44 Sets the font family and style in the current traversal state.
45 }
46
47 ALSO {
48 SoAsciiText,
49 SoFont,
50 SoText2,
51 SoText3
52 }