|
MF_API int MFFont_BlitText |
( |
MFFont * |
pFont, |
|
|
int |
x, |
|
|
int |
y, |
|
|
const MFVector & |
colour, |
|
|
const char * |
pText, |
|
|
int |
maxChars = -1 |
|
) |
| |
Renders text to the screen (perfect texel to pixel mapping, no scaling).
- Parameters
-
pFont | Pointer to a font. |
x | x coordinate in screen space. |
y | y coordinate in screen space. |
colour | Colour of the text. |
pText | Pointer to a string containing the text to render. |
maxChars | Maximum number of chars to render from the source string. |
- Returns
- Returns 0 if there were no errors.
|