glttf::OutlineGlyph Class Reference

An outline glyph. More...

#include <outlinefont.h>

Inheritance diagram for glttf::OutlineGlyph:

glttf::Glyph List of all members.

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.

Detailed Description

An outline glyph.

Outline glyphs are rendered with GL_LINE_LOOP.

Riku Salminen

Constructor & Destructor Documentation

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

Member Function Documentation

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

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