|
|
| MF_API float MF_API float MFFont_DrawText2f |
( |
MFFont * |
pFont, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
height, |
|
|
const MFVector & |
colour, |
|
|
const char * |
pFormat, |
|
|
|
... |
|
) |
| |
Renders formatted text to the screen.
- Parameters
-
| pFont | Pointer to a font. |
| x | X coordinate in world space to render the string. |
| y | Y coordinate 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.
|