Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members | Related Pages

openvrml::vrml97_node::text_class Class Reference

Class object for Text nodes. More...

Inheritance diagram for openvrml::vrml97_node::text_class:

Inheritance graph
[legend]
Collaboration diagram for openvrml::vrml97_node::text_class:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 text_class (openvrml::browser &browser)
 Construct.

virtual ~text_class () throw ()
 Destroy.

virtual const node_type_ptr create_type (const std::string &id, const node_interface_set &) throw (unsupported_interface, std::bad_alloc)
 Create a node_type.


Public Attributes

FT_Library freeTypeLibrary
 FreeType library handle.


Detailed Description

Class object for Text nodes.


Constructor & Destructor Documentation

openvrml::vrml97_node::text_class::text_class openvrml::browser browser  )  [explicit]
 

Construct.

Parameters:
browser the browser associated with this node_class.

Member Function Documentation

const node_type_ptr openvrml::vrml97_node::text_class::create_type const std::string &  id,
const node_interface_set interfaces
throw (unsupported_interface, std::bad_alloc) [virtual]
 

Create a node_type.

Parameters:
id the name for the new node_type.
interfaces the interfaces for the new node_type.
Returns:
a node_type_ptr to a node_type capable of creating Text nodes.
Exceptions:
unsupported_interface if interfaces includes an interface not supported by text_class.
std::bad_alloc if memory allocation fails.

Implements openvrml::node_class.


Member Data Documentation

FT_Library openvrml::vrml97_node::text_class::freeTypeLibrary
 

FreeType library handle.

See also:
http://freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_Library