00001 #ifndef __FTGLOutlineFont__
00002 #define __FTGLOutlineFont__
00003
00004
00005 #include "FTFont.h"
00006 #include "FTGL.h"
00007
00008 class FTGlyph;
00009
00010
00011
00012
00013
00014
00015
00016
00017 class FTGL_EXPORT FTGLOutlineFont : public FTFont
00018 {
00019 public:
00020
00021
00022
00023
00024
00025 FTGLOutlineFont( const char* fontFilePath);
00026
00027
00028
00029
00030
00031
00032
00033 FTGLOutlineFont( const unsigned char *pBufferBytes, size_t bufferSizeInBytes);
00034
00035
00036
00037
00038 ~FTGLOutlineFont();
00039
00040
00041
00042
00043 virtual void PreRender();
00044
00045
00046
00047
00048 virtual void PostRender();
00049
00050 private:
00051
00052
00053
00054
00055
00056
00057 inline virtual FTGlyph* MakeGlyph( unsigned int g);
00058
00059 };
00060 #endif // __FTGLOutlineFont__