|
MF_API float MFFont_DrawTextf |
( |
MFFont * |
pFont, |
|
|
const MFVector & |
pos, |
|
|
float |
height, |
|
|
const MFVector & |
colour, |
|
|
const char * |
pFormat, |
|
|
|
... |
|
) |
| |
Renders formatted text to the screen.
- Parameters
-
pFont | Pointer to a font. |
pos | Position in world space to render the string. |
height | Height of the text. |
colour | Colour of the text. |
pFormat | Pointer to the format string. This complies with all the regular printf format standards. |
... | Additional parameters used according to the format specifier. |
- Returns
- The height of the text rendered.
|