osgText Namespace Reference


Classes

class  FadeText
class  Font
class  VectorUInt
class  String
class  Text

Enumerations

enum  KerningType { KERNING_DEFAULT, KERNING_UNFITTED, KERNING_NONE }

Functions

OSGTEXT_EXPORT FontreadFontFile (const std::string &filename, const osgDB::ReaderWriter::Options *userOptions=0)
OSGTEXT_EXPORT FontreadFontStream (std::istream &stream, const osgDB::ReaderWriter::Options *userOptions=0)
OSGTEXT_EXPORT std::string findFontFile (const std::string &str)


Detailed Description

The osgText is a NodeKit library that extends the core scene graph to support high quality text.

Enumeration Type Documentation

enum osgText::KerningType

Enumerator:
KERNING_DEFAULT 
KERNING_UNFITTED 
KERNING_NONE 


Function Documentation

OSGTEXT_EXPORT std::string osgText::findFontFile ( const std::string &  str  ) 

OSGTEXT_EXPORT Font* osgText::readFontFile ( const std::string &  filename,
const osgDB::ReaderWriter::Options userOptions = 0 
)

Read a font from specified file. The filename may contain a path. It will search for the font file in the following places in this order:

Then the file will be searched in OS specific directories in the following order:

If the given file could not be found, the path part will be stripped and the file will be searched again in the OS specific directories.

OSGTEXT_EXPORT Font* osgText::readFontStream ( std::istream &  stream,
const osgDB::ReaderWriter::Options userOptions = 0 
)

read a font from specified stream.


Generated on Fri Jan 25 03:47:21 2008 for openscenegraph by  doxygen 1.5.4