Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osg::TextBackend Class Reference

#include <OSGTextBackend.h>

List of all members.

Public Member Functions

virtual ~TextBackend ()
virtual TextVectorFacecreateVectorFace (const std::string &family, TextFace::Style style)
virtual TextPixmapFacecreatePixmapFace (const std::string &family, TextFace::Style style, UInt32 size)
virtual TextTXFFacecreateTXFFace (const std::string &family, TextFace::Style style, const TextTXFParam &param)
virtual void getFontFamilies (std::vector< std::string > &families)=0

Protected Member Functions

 TextBackend ()

Private Member Functions

 TextBackend (const TextBackend &)
const TextBackendoperator= (const TextBackend &)


Detailed Description

Abstract base class of all backends. Developers only use this class to implement new Backends.
Author:
Patrick Dähne

Definition at line 72 of file OSGTextBackend.h.


Constructor & Destructor Documentation

osg::TextBackend::~TextBackend  )  [virtual]
 

Destroys the TextBackend object.

Definition at line 56 of file OSGTextBackend.cpp.

00056 {}

osg::TextBackend::TextBackend  )  [inline, protected]
 

Creates a new TextBackend object.

Definition at line 43 of file OSGTextBackend.inl.

00043 {}

osg::TextBackend::TextBackend const TextBackend  )  [private]
 

Copy constructor (not implemented!)


Member Function Documentation

virtual TextVectorFace* osg::TextBackend::createVectorFace const std::string &  family,
TextFace::Style  style
[virtual]
 

Creates a new vector face. Descendants of the TextBackend class have to override this method with their own implementation. The default implementation of the TextBackend class always return 0.

Parameters:
family The font family of the face (Arial, Courier etc.)
style The style of the face (bold, italic etc.)
Returns:
The vector face object or 0 in case of an error.

virtual TextPixmapFace* osg::TextBackend::createPixmapFace const std::string &  family,
TextFace::Style  style,
UInt32  size
[virtual]
 

Creates a new pixmap face. Descendants of the TextBackend class have to override this method with their own implementation. The default implementation of the TextBackend class always returns 0.

Parameters:
family The font family of the face (Arial, Courier etc.)
style The style of the face (bold, italic etc.)
size The size of the pixmap font in pixels.
Returns:
The pixmap face object or 0 in case of an error.

virtual TextTXFFace* osg::TextBackend::createTXFFace const std::string &  family,
TextFace::Style  style,
const TextTXFParam param
[virtual]
 

Creates a new TXF face. Descendants of the TextBackend class have to override this method with their own implementation. The default implementation of the TextBackend class always returns 0.

Parameters:
family The font family of the face (Arial, Courier etc.)
style The style of the face (bold, italic etc.)
param Some parameters that affect the creation of the TXF face.
Returns:
The TXF face object or 0 in case of an error.

virtual void osg::TextBackend::getFontFamilies std::vector< std::string > &  families  )  [pure virtual]
 

Returns the names of all font families available.

Parameters:
families A vector that gets filled with the names of all font families.

const TextBackend& osg::TextBackend::operator= const TextBackend  )  [private]
 

Copy operator (not implemented!)


The documentation for this class was generated from the following files:
Generated on Thu Aug 25 04:23:01 2005 for OpenSG by  doxygen 1.4.3