Eaagles::BasicGL::LcFTGLFonts Class Reference

Inherits Eaagles::BasicGL::LcFont.

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:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::BasicGL::LcFTGLFonts:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

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. 


Constructor & Destructor Documentation

Eaagles::BasicGL::LcFTGLFonts::LcFTGLFonts (  ) 


Member Function Documentation

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.


Member Data Documentation

const int Eaagles::BasicGL::LcFTGLFonts::DEFAULT_FACE_SIZE [static, private]

int Eaagles::BasicGL::LcFTGLFonts::fSize [private]

face size


Generated on Tue Dec 19 16:26:39 2006 for Eaagles by  doxygen 1.5.0