NNSG2dGlyph

定義


#include <nnsys/g2d/g2d_Font.h>

typedef struct NNSG2dGlyph
{
	const NNSG2dCharWidths* pWidths;
	const u8* image;
}
NNSG2dGlyph;

説明

NNS_G2dFontGetGlyph() および NNS_G2dFontGetGlyphFromIndex() で フォントの持つ文字情報をまとめて取得するのに用います。
image が指すグリフイメージの形式に付いては NNS_G2dFontGetGlyphImage() を参照してください。

pWidths 文字幅情報へのポインタ
image グリフイメージへのポインタ

参照

NNS_G2dFontGetGlyph, NNS_G2dFontGetGlyphFromIndex, NNS_G2dFontGetGlyphImage

履歴

2005/05/25 初版