FontStyle Class Reference

#include <FontStyle.h>

Inherits X3D::X3DFontStyleNode.

Collaboration diagram for FontStyle:

Collaboration graph

Public Member Functions

 FontStyle (const AP_Xml &xml, SFNode scene)
SFBool horizontal (void) const
 Inline.
AP_Bool Init (void)
 Interface The render and init API function is not present in the X3D ISO/IEC 19775-1:2008 standard. We will use it to OpenGL direct rendering. It is a pure virtual function and must be overloaded from some X3D classes.
void Render (void)
AP_Bool Update (const X3DEvent &event)

Data Fields

AP_Sint32 height
AP_Sint32 number
AP_Sint32 offset [256]
AP_Sint32 space
GLuint texid [256]
AP_Sint32 width [256]

Protected Attributes

MFString _m_family
AP_Dds _m_font_dds
AP_File _m_font_fnt
SFBool _m_horizontal
MFString _m_justify
SFString _m_language
SFBool _m_leftToRight
SFFloat _m_size
SFFloat _m_spacing
SFString _m_style
SFBool _m_topToBottom

Constructor & Destructor Documentation

FontStyle ( const AP_Xml xml,
SFNode  scene 
)


Member Function Documentation

SFBool horizontal ( void   )  const [inline]

Inline.

AP_Bool Init ( void   )  [virtual]

Interface The render and init API function is not present in the X3D ISO/IEC 19775-1:2008 standard. We will use it to OpenGL direct rendering. It is a pure virtual function and must be overloaded from some X3D classes.

Reimplemented from X3DGroupingNode.

void Render ( void   )  [virtual]

Reimplemented from X3DGroupingNode.

AP_Bool Update ( const X3DEvent event  )  [virtual]

Reimplemented from X3DGroupingNode.


Field Documentation

MFString _m_family [protected]

AP_Dds _m_font_dds [protected]

AP_File _m_font_fnt [protected]

SFBool _m_horizontal [protected]

MFString _m_justify [protected]

SFString _m_language [protected]

SFBool _m_leftToRight [protected]

SFFloat _m_size [protected]

SFFloat _m_spacing [protected]

SFString _m_style [protected]

SFBool _m_topToBottom [protected]

GLuint texid[256]


The documentation for this class was generated from the following files:

Generated on Fri Mar 5 16:50:45 2010 for CarLinO by  doxygen 1.5.8