osg::TextBackend Class Reference
#include <OSGTextBackend.h>
List of all members.
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] |
| osg::TextBackend::TextBackend |
( |
|
) |
[inline, protected] |
| osg::TextBackend::TextBackend |
( |
const TextBackend & |
|
) |
[private] |
Copy constructor (not implemented!)
Member Function Documentation
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.
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.
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. |
Copy operator (not implemented!)
The documentation for this class was generated from the following files: