Inherited by Eaagles::BasicGL::LcFTGLBitmapFont, Eaagles::BasicGL::LcFTGLExtrdFont, Eaagles::BasicGL::LcFTGLOutlineFont, Eaagles::BasicGL::LcFTGLPixmapFont, Eaagles::BasicGL::LcFTGLPolygonFont, and Eaagles::BasicGL::LcFTGLTextureFont.
Inheritance diagram for Eaagles::BasicGL::LcFTGLFonts:


Public Member Functions | |
| LcFTGLFonts () | |
| virtual bool | setFaceSize (const Basic::LcNumber *const faceSize) |
| unsigned int | getFaceSize () |
Private Attributes | |
| int | fSize |
Static Private Attributes | |
| static const int | DEFAULT_FACE_SIZE |
Abstract font class for the Freetype2 fonts. This uses freetype 2
and Open GL (FTGL) to draw the fonts.
Slots: 1. faceSize (LcNumber) font face size
2. depth (LcNumber) Depth.
All font files NEED the following info to work correctly:
The fontWidth and fontHeight will SCALE the individual width and height, however
faceSize will SET the actual font width and height symetrically (ie.. X by X instead
of X by Y). You can both set the fontWidth and Heigth and faceSize, and that
will scale and then draw a font of certain facesize.
| Eaagles::BasicGL::LcFTGLFonts::LcFTGLFonts | ( | ) |
| bool Eaagles::BasicGL::LcFTGLFonts::setFaceSize | ( | const Basic::LcNumber *const | faceSize | ) | [virtual] |
Sets the face size in points (1/72 of an inch per point) - this is different than setting character width and height as it expands and retracts the font proportionally
| unsigned int Eaagles::BasicGL::LcFTGLFonts::getFaceSize | ( | ) | [inline] |
Gets the face size of the font.
const int Eaagles::BasicGL::LcFTGLFonts::DEFAULT_FACE_SIZE [static, private] |
int Eaagles::BasicGL::LcFTGLFonts::fSize [private] |
face size
1.5.0