Powertek.OpenGl.Pt3dBitmapFont Class Reference

Pt3dBitmapFont. More...

Collaboration diagram for Powertek.OpenGl.Pt3dBitmapFont:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Pt3dBitmapFont ()
bool Init (String textureFileName)
void Clear ()
void Print3d (float px, float py, float pz, float size, string text, int charset, bool center, bool billboard)
void Print2d (int px, int py, float size, string text)
void Print2d (int px, int py, float size, string text, int charset)
void Print2d (int px, int py, float size, string text, int screenWidth, int screenHeight)
void Print2d (int px, int py, float size, string text, int charset, int screenWidth, int screenHeight)


Detailed Description


Constructor & Destructor Documentation

Powertek.OpenGl.Pt3dBitmapFont.Pt3dBitmapFont (  ) 


Member Function Documentation

void Powertek.OpenGl.Pt3dBitmapFont.Clear (  ) 

Clear.

bool Powertek.OpenGl.Pt3dBitmapFont.Init ( String  textureFileName  ) 

Init with Font Texture File.

Parameters:
textureFileName 
Returns:

void Powertek.OpenGl.Pt3dBitmapFont.Print2d ( int  px,
int  py,
float  size,
string  text,
int  charset,
int  screenWidth,
int  screenHeight 
)

Prints the text at the given position.

Parameters:
px 
py 
size 
text 
charset 
screenWidth 
screenHeight 

void Powertek.OpenGl.Pt3dBitmapFont.Print2d ( int  px,
int  py,
float  size,
string  text,
int  screenWidth,
int  screenHeight 
)

Prints the text at the given position.

Parameters:
px 
py 
size 
text 
screenWidth 
screenHeight 

void Powertek.OpenGl.Pt3dBitmapFont.Print2d ( int  px,
int  py,
float  size,
string  text,
int  charset 
)

Prints the text at the given position.

Parameters:
px GL Screen x coordinate
py GL Screen y coordinate (Top-Down)
size Size of the text
text Text to print
charset 0 or 1

void Powertek.OpenGl.Pt3dBitmapFont.Print2d ( int  px,
int  py,
float  size,
string  text 
)

Print Text on screen.

Parameters:
px 
py 
size 
text 

void Powertek.OpenGl.Pt3dBitmapFont.Print3d ( float  px,
float  py,
float  pz,
float  size,
string  text,
int  charset,
bool  center,
bool  billboard 
)

Print Text 3d.

Parameters:
px 
py 
pz 
size 
text 
charset 
center 
billboard 


The documentation for this class was generated from the following file:

Generated on Thu Nov 20 04:46:32 2008 for Powertek.OpenGl, 2.0.6.64 by  doxygen 1.5.7.1