|
|
| 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:
- Returns the height of the text rendered.
- Remarks:
- The MFFont_DrawTextf format string conforms with all the standard printf format standards.
|
|