NNS_G2dFontFindGlyphIndex

Syntax


#include <nnsys/g2d/g2d_Font.h>

u16 NNS_G2dFontFindGlyphIndex(
	const NNSG2dFont* pFont,
	u16 c
);

Arguments

pFont [IN] Pointer to font
c [IN] Character code of the character to get the glyph index for.

Return Values

If there is a glyph for c, returns the glyph index. If there is no glyph, returns NNS_G2D_GLYPH_INDEX_NOT_FOUND.

Description

Searches for the glyph index of the glyph corresponding to c.

See Also

NNS_G2dFontGetGlyphIndex

Revision History

2005/05/25 Initial version.


CONFIDENTIAL