#include <revolution/os.h>
char* OSGetFontTexel(char* string, void* image, s32 pos, s32 stride, s32* width);
|
Character string. |
|
Pointer to texture image (GX_TF_I4 format). |
|
Horizontal position for retrieving font texels. |
|
Width of texture image / 4. |
|
Texel width of current text character font. |
Pointer to the next text character in string.
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.
03/01/2006 Initial version.