NNS_G2dFontGetCharWidth

C Specification

#include <nnsys/g2d/g2d_Font.h>

const int NNS_G2dFontGetCharWidth(
	const NNSG2dFont* pFont,
	u16 c
);

Arguments

pFont [IN] Pointer to font
c [IN] Character code of the character to get character width for

Return Values

Returns the character width in pixels.

Description

Gets the character width information for the glyph corresponding 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.

See Also

NNS_G2dFontGetCharWidthFromIndex

Revision History

05/25/2005 Initial version.


CONFIDENTIAL