|
|
LibN2L-4 Library Code Reference
Classes
Compounds
Files
Members
Method Index
Full Reference
n2l::cTextureFont Class ReferenceAn interface class providing a standard set of methods by which all executors must be accessable.
More...
#include <cTextureFont.h>
Inheritance diagram for n2l::cTextureFont:
[legend]Collaboration diagram for n2l::cTextureFont:
[legend]List of all members.Public Types
Public Member Functions
- cTextureFont (const cVfsNodeInterface &iFile, const tUint iPtSize=24)
- cTextureFont (const cSurfaceInterface &iSurface, const tCoordMap &iMap)
- cTextureFont (const cTTFSurfaceFactory &iFactory)
- virtual ~cTextureFont ()
- void buildGlyphs (const cSurfaceInterface &iSurface, const tCoordMap &iMap)
- void buildGlyphs (const cTTFSurfaceFactory &iFactory)
- virtual void draw (const tString &iText) const
- virtual void draw (const tVector2f &iPos, const tString &iText, const tFloat &iGlyphHeight=1.0f, const tString::size_type iStartPos=0, const tString::size_type iLength=tString::npos) const
- virtual void drawGlyph (const tGlyphID iGlyphID) const
- virtual const tVector2f calcSize (const tString &iText, const tFloat &iGlyphHeight=1.0f, const tString::size_type iStartPos=0, const tString::size_type iLength=tString::npos) const
- virtual const tFloat glyphWidth (const tGlyphID iGlyphID, const tFloat &iGlyphHeight=1.0f) const
- virtual const tFloat glyphSeperation (const tFloat &iGlyphHeight=1.0f) const
- virtual const tFloat glyphRowSeperation (const tFloat &iGlyphHeight=1.0f) const
Static Public Attributes
Classes
- class cCoordSetBase
- A class to hold the coordinates of a glyph in the passed surface.
Detailed Description
An interface class providing a standard set of methods by which all executors must be accessable.
Definition at line 47 of file cTextureFont.h.
Member Typedef Documentation
Constructor & Destructor Documentation
| n2l::cTextureFont::~cTextureFont |
( |
|
) |
[virtual] |
|
Member Function Documentation
|
|
Definition at line 168 of file cTextureFont.cpp.
References buildGlyphs(), n2l::cPixelFormat::Channel_Alpha, n2l::cPixelFormat::Channel_Blue, n2l::cPixelFormat::Channel_Green, n2l::cPixelFormat::Channel_Red, n2l::cSurfaceCommonImp::clearSurface(), n2l::cSurface::create(), n2l::cTTFSurfaceFactory::generate(), n2l::cTTFSurfaceFactory::glyphSize(), n2l::cSurface::literalCopyBlit(), n2l::cSurfaceCommonImp::mapRGB(), n2l::cSurfaceCommonImp::mapRGBA(), UndefinedGlyphID, and n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::y(). |
| void n2l::cTextureFont::draw |
( |
const tString & |
iText |
) |
const [virtual] |
|
| void n2l::cTextureFont::drawGlyph |
( |
const tGlyphID |
iGlyphID |
) |
const [virtual] |
|
| const tFloat n2l::cTextureFont::glyphRowSeperation |
( |
const tFloat & |
iGlyphHeight = 1.0f |
) |
const [virtual] |
|
| const tFloat n2l::cTextureFont::glyphSeperation |
( |
const tFloat & |
iGlyphHeight = 1.0f |
) |
const [virtual] |
|
| const tFloat n2l::cTextureFont::glyphWidth |
( |
const tGlyphID |
iGlyphID, |
|
|
const tFloat & |
iGlyphHeight = 1.0f |
|
) |
const [virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following files:
|