#include <polygonfont.h>
Inheritance diagram for glttf::PolygonGlyph:
Public Types | |
typedef int | Parameter |
The parameter type for this font. | |
Public Member Functions | |
PolygonGlyph (const FT_GlyphSlot glyph, Parameter subdiv) | |
Create a new polygon glyph. | |
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 = 5 |
The default parameter for this font. |
glttf::PolygonGlyph::PolygonGlyph | ( | const FT_GlyphSlot | glyph, | |
Parameter | subdiv | |||
) |
Create a new polygon glyph.
glyph | the FreeType glyph which the glyph is built from | |
subdiv | the level of subdivision for this font |
static void glttf::PolygonGlyph::setupState | ( | ) | [inline, static] |
Set up rendering state.
Does nothing
static void glttf::PolygonGlyph::cleanupState | ( | ) | [inline, static] |
Clean up rendering state.
Does nothing