OSGetFontTexture

Syntax

#include <revolution/os.h>

char* OSGetFontTexture(char* string, void** image, s32 *x, s32 *y, s32* width);

Arguments

string String.
image Pointer to the raw image of a font texture (GX_TF_I4 format).
x Horizontal position of the current character font in the returned texture image (image).
y Vertical position of the current character font in the returned texture image (image).
width Texel width of current text character font.

Return Values

Pointer to the next character in string.

Description

Gets a pointer to the font texture image of the first text character in the specified string. Font data must be loaded using the OSInitFont function.

See Also

Font Functions, OSInitFont

Revision History

2006/03/01 Initial version.


CONFIDENTIAL