glttf::ExtrudedGlyph Class Reference

An extruded 3d glyph. More...

#include <extrudedfont.h>

Inheritance diagram for glttf::ExtrudedGlyph:

glttf::Glyph List of all members.

Public Types

typedef std::pair< float,
int > 
Parameter
 The parameter type for this font.

Public Member Functions

 ExtrudedGlyph (const FT_GlyphSlot glyph, const Parameter &param)

Static Public Member Functions

static void setupState ()
 Set up rendering state.
static void cleanupState ()
 Clean up rendering state.

Static Public Attributes

static const Parameter DEFAULT_PARAMETER
 The default parameter for this font.

Detailed Description

An extruded 3d glyph.

Author:
Riku Salminen


Member Typedef Documentation

typedef std::pair<float, int> glttf::ExtrudedGlyph::Parameter

The parameter type for this font.

The first value of the parameter is the depth of the extrusion along the negative Z axis. The second parameter is the level of subdivision.


Constructor & Destructor Documentation

glttf::ExtrudedGlyph::ExtrudedGlyph ( const FT_GlyphSlot  glyph,
const Parameter param 
)

Parameters:
glyph the FreeType glyph which the glyph is built from
param the
See also:
Parameter


Member Function Documentation

static void glttf::ExtrudedGlyph::setupState (  )  [inline, static]

Set up rendering state.

Does nothing

static void glttf::ExtrudedGlyph::cleanupState (  )  [inline, static]

Clean up rendering state.

Does nothing

See also:
setupState


Member Data Documentation

const Parameter glttf::ExtrudedGlyph::DEFAULT_PARAMETER [static]

The default parameter for this font.

depth = 1.0, subdivision level = 5


The documentation for this class was generated from the following file:
Generated on Mon Jan 8 12:08:37 2007 for GLttf by  doxygen 1.5.1