00001 #ifndef __FTGLOutlineFont__
00002 #define __FTGLOutlineFont__
00003
00004
00005 #include "FTFont.h"
00006 #include "FTGL.h"
00007
00008 class FTGlyph;
00009
00010
00017 class FTGL_EXPORT FTGLOutlineFont : public FTFont
00018 {
00019 public:
00025 FTGLOutlineFont( const char* fontname);
00026
00033 FTGLOutlineFont( const unsigned char *pBufferBytes, size_t bufferSizeInBytes);
00034
00038 ~FTGLOutlineFont();
00039
00045 void Render( const char* string);
00046
00052 void Render( const wchar_t* string);
00053
00054 private:
00061 inline virtual FTGlyph* MakeGlyph( unsigned int g);
00062
00063 };
00064 #endif // __FTGLOutlineFont__