#include <nnsys/g2d/g2d_Font.h>
int NNS_G2dFontGetWidthFromIndex(
const NNSG2dFont* pFont,
u16 idx
);
pFont | Pointer to font |
idx | Glyph index of the glyph to get the character width for |
Returns the character width in pixels.
Gets the character width of the glyph corresponding to idx
. If there is no glyph corresponding to idx
or if the glyph does not have its own character width information, gets the character width from the font's default character width information.
2005/01/xx Initial version.
CONFIDENTIAL