OSGetFontWidth

Syntax

#include <revolution/os.h>

char* OSGetFontWidth(char* string, s32* width);

Arguments

string String.
width Texel width of current text character font.

Return Values

Pointer to the next character in string.

Description

Gets the texel width of the first text character in the specified string. Font data must be loaded by the OSInitFont or OSLoadFont function.

See Also

Font Functions

Revision History

2006/03/01 Initial version.


CONFIDENTIAL