OSGetFontTexel

Syntax

#include <revolution/os.h>

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

Arguments

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

Return Values

Pointer to the next 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.

See Also

Font Functions, OSLoadFont

Revision History

2006/03/01 Initial version.


CONFIDENTIAL