OSGetFontTexel

C Specification

#include <revolution/os.h>

char* OSGetFontTexel(char* string, void* image, s32 pos, s32 stride, s32* width);

Arguments

string Character string.
image Pointer to texture image (GX_TF_I4 format).
pos Horizontal position for retrieving font texels.
stride Width of texture image / 4.
width Texel width of current text character font.

Return Values

Pointer to the next text character in string.

Description

Retrieves the font texel image of the first text character from the specified string. Font data must be loaded using the OSLoadFont function.

Note: The font texel image is OR'ed with the image buffer.

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

OSLoadFont, Font Functions

Revision History

03/01/2006 Initial version.