OSGetFontTexture

C Specification

#include <revolution/os.h>

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

Arguments

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

Return Values

Pointer to the next text character in string.

Description

Gets a pointer to the font texture image of the first text character in the specified string. You must use the OSInitFont function to load the font data.

Note: This font is currently used on a provisional basis. It may not be allowed on the product version. For the product version of Revolution, we plan to prepare a new font set that uses the internal flash memory. A new font library for accessing this font will be prepared in future SDKs.

See Also

OSInitFont, Font Functions

Revision History

03/01/2006 Initial version.