NNS_G2dFontGetCharWidths

C Specification

#include <nnsys/g2d/g2d_Font.h>

const NNSG2dCharWidths* NNS_G2dFontGetCharWidths(
	const NNSG2dFont* pFont,
	u16 c
);

Arguments

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

Return Values

Returns a pointer to the character width information.

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 for the font.

See Also

Revision History

05/25/2005 Initial version.