#include <revolution/fnt.h>
char* FNTGetTexture(
const FNTHeader* font,
const char* string,
FNTTexture* tex );
| font | Pointer to the font data buffer. Initialization using FNTConstruct or FNTStreamingConstruct is required. |
|---|---|
| string | String. |
| tex | Pointer to a structure that stores font texture information. |
Pointer to the next character in string.
Gets the font texture information of the first text character in the specified string.
The pointer to the texture image sheet, the position of the font in the sheet, etc. are stored as font texture information.
The texel width of the first character is stored in tex->charWidth.
The character encoding method can be set using FNTSetEncoding.
FNTSetEncoding, FNTGetTextureFormat
2006/10/01 Initial version.
CONFIDENTIAL