1
#ifndef __FTGLExtrdFont__
2
#define __FTGLExtrdFont__
10
* FTGLExtrdFont is a specialisation of the FTFont class for handling
11
* extruded Polygon fonts
14
* @see FTGLPolygonFont
16
class FTGL_EXPORT FTGLExtrdFont : public FTFont
20
* Open and read a font file. Sets Error flag.
22
* @param fontname font file name.
24
FTGLExtrdFont( const char* fontname);
27
* Open and read a font from a buffer in memory. Sets Error flag.
29
* @param pBufferBytes the in-memory buffer
30
* @param bufferSizeInBytes the length of the buffer in bytes
32
FTGLExtrdFont( const unsigned char *pBufferBytes, size_t bufferSizeInBytes);
39
void Depth( float d) { depth = d;}
43
* Construct a FTPolyGlyph.
45
* @param glyphIndex The glyph index NOT the char code.
46
* @return An FTExtrdGlyph or <code>null</code> on failure.
48
inline virtual FTGlyph* MakeGlyph( unsigned int glyphIndex);
54
#endif // __FTGLExtrdFont__