Mount Fuji Engine  0.8b
MF_API int MF_API float MFFont_DrawText ( MFFont *  pFont,
const MFVector &  pos,
float  height,
const MFVector &  colour,
const char *  pText,
int  maxChars = -1,
const MFMatrix &  ltw = MFMatrix::identity 
)

Renders text to the screen.

Parameters
pFontPointer to a font.
posPosition in world space to render the string.
heightHeight of the text.
colourColour of the text.
pTextPointer to a string containing the text to render.
maxCharsMaximum number of chars to render from the source string.
ltwLocal to world matrix used to render the string.
Returns
The height of the text rendered.