#include <extrudedfont.h>
Inheritance diagram for glttf::ExtrudedGlyph:
Public Types | |
typedef std::pair< float, int > | Parameter |
The parameter type for this font. | |
Public Member Functions | |
ExtrudedGlyph (const FT_GlyphSlot glyph, const Parameter ¶m) | |
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. |
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.
glttf::ExtrudedGlyph::ExtrudedGlyph | ( | const FT_GlyphSlot | glyph, | |
const Parameter & | param | |||
) |
static void glttf::ExtrudedGlyph::setupState | ( | ) | [inline, static] |
Set up rendering state.
Does nothing
static void glttf::ExtrudedGlyph::cleanupState | ( | ) | [inline, static] |
const Parameter glttf::ExtrudedGlyph::DEFAULT_PARAMETER [static] |
The default parameter for this font.
depth = 1.0, subdivision level = 5