#include <nnsys/g2d/g2d_Font.h>
const int NNS_G2dFontGetCharWidth(
const NNSG2dFont* pFont,
u16 c
);
pFont | [IN] Pointer to font |
c | [IN] Character code of the character to get character width for |
Returns the character width in pixels.
Gets the character width of the glyph that corresponds to c. If there is no glyph corresponding to c or the glyph does not have its own character width information, gets the default character width.
For vertically written fonts, this function gets the character's height.
NNS_G2dFontGetCharWidthFromIndex
2007/03/14 Added support for the vertically written and vertically held fonts. Corrected an error in Description.
2005/05/25 Initial version.
CONFIDENTIAL