| Home | Download | Screen shots | Discussion | Documentation |
|---|
Public Member Functions | |
| font_style_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) | |
| Construct. | |
| virtual | ~font_style_node () throw () |
| Destroy. | |
| virtual const std::vector < std::string > & | family () const throw () |
| Get the list of font families. | |
| virtual bool | horizontal () const throw () |
| Get the flag indicating whether the text should be horizontal or vertical. | |
| virtual const std::vector < std::string > & | justify () const throw () |
| Get the descriptor for the text justification. | |
| virtual const std::string & | language () const throw () |
| Get the language code. | |
| virtual bool | left_to_right () const throw () |
| Get the flag indicating whether the text should be rendered left-to-right. | |
| virtual float | size () const throw () |
| Get the size of the text. | |
| virtual float | spacing () const throw () |
| Get the spacing for the text. | |
| virtual const std::string & | style () const throw () |
| Get the style for the text. | |
| virtual bool | top_to_bottom () const throw () |
| Get the flag indicating whether the text should be rendered top-to-bottom. | |
Private Attributes | |
| mfstring | family_ |
| family field. | |
| sfbool | horizontal_ |
| horizontal field. | |
| mfstring | justify_ |
| justify field. | |
| sfstring | language_ |
| language field. | |
| sfbool | leftToRight |
| leftToRight field. | |
| sffloat | size_ |
| size field. | |
| sffloat | spacing_ |
| spacing field. | |
| sfstring | style_ |
| style field. | |
| sfbool | topToBottom |
| topToBottom field. | |
Friends | |
| class | font_style_class |
| Class object for FontStyle nodes. | |
| openvrml::vrml97_node::font_style_node::font_style_node | ( | const node_type & | type, | |
| const boost::shared_ptr< openvrml::scope > & | scope | |||
| ) |
| openvrml::vrml97_node::font_style_node::~font_style_node | ( | ) | throw () [virtual] |
| const std::vector< std::string > & openvrml::vrml97_node::font_style_node::family | ( | ) | const throw () [virtual] |
Get the list of font families.
Implements openvrml::font_style_node.
| bool openvrml::vrml97_node::font_style_node::horizontal | ( | ) | const throw () [virtual] |
Get the flag indicating whether the text should be horizontal or vertical.
true if the text should be horizontal, or false if the text should be vertical. Implements openvrml::font_style_node.
| const std::vector< std::string > & openvrml::vrml97_node::font_style_node::justify | ( | ) | const throw () [virtual] |
Get the descriptor for the text justification.
Implements openvrml::font_style_node.
| const std::string & openvrml::vrml97_node::font_style_node::language | ( | ) | const throw () [virtual] |
| bool openvrml::vrml97_node::font_style_node::left_to_right | ( | ) | const throw () [virtual] |
Get the flag indicating whether the text should be rendered left-to-right.
true if the text should be rendered left-to-right, or false if the text should be rendered right-to-left. Implements openvrml::font_style_node.
| float openvrml::vrml97_node::font_style_node::size | ( | ) | const throw () [virtual] |
| float openvrml::vrml97_node::font_style_node::spacing | ( | ) | const throw () [virtual] |
Get the spacing for the text.
Implements openvrml::font_style_node.
| const std::string & openvrml::vrml97_node::font_style_node::style | ( | ) | const throw () [virtual] |
Get the style for the text.
Implements openvrml::font_style_node.
| bool openvrml::vrml97_node::font_style_node::top_to_bottom | ( | ) | const throw () [virtual] |
Get the flag indicating whether the text should be rendered top-to-bottom.
true if the text should be rendered top-to-bottom, or false if the text should be rendered bottom-to-top. Implements openvrml::font_style_node.
openvrml::vrml97_node::font_style_node::font_style_class [friend] |
Class object for FontStyle nodes.
family field.
horizontal field.
justify field.
language field.
leftToRight field.
size field.
spacing field.
style field.
topToBottom field.