#include <outlinefont.h>
Inheritance diagram for glttf::OutlineGlyph:

Public Types | |
| typedef int | Parameter |
| The parameter type of this font. | |
Public Member Functions | |
| OutlineGlyph (const FT_GlyphSlot glyph, Parameter subdiv) | |
| Create a new outline 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. | |
Outline glyphs are rendered with GL_LINE_LOOP.
| glttf::OutlineGlyph::OutlineGlyph | ( | const FT_GlyphSlot | glyph, | |
| Parameter | subdiv | |||
| ) |
Create a new outline glyph.
| glyph | the FreeType glyph which the glyph is built from | |
| subdiv | the level of subdivision for this font |
| static void glttf::OutlineGlyph::setupState | ( | ) | [inline, static] |
Set up rendering state.
Does nothing
| static void glttf::OutlineGlyph::cleanupState | ( | ) | [inline, static] |
Clean up rendering state.
Does nothing
1.5.1