Mount Fuji Engine  0.8b
MF_API float MFFont_DrawText2 ( MFFont pFont,
float  x,
float  y,
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.
xX coordinate in world space to render the string.
yY coordinate 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.