#include <revolution/fnt.h>
char* FNTGetWidth(
const FNTHeader* font,
const char* string,
s32* width );
| font | Pointer to the font data buffer. Initialization using FNTConstruct or FNTStreamingConstruct is required. |
|---|---|
| string | String. |
| width | Pointer to the variable storing the texel width of the first character of the specified string. |
Pointer to the next character in string.
Gets the texel width of the first text character in the specified string.
The character encoding method can be set using FNTSetEncoding.
2006/10/01 Initial version.
CONFIDENTIAL