File:  [RetroPC.NET] / np2 / wince / fontmng.h
Revision 1.2: download - view: text, annotated - select for diffs
Sat Feb 12 21:14:00 2005 JST (20 years, 8 months ago) by yui
Branches: MAIN
CVS tags: VER_0_82_x64, VER_0_82, VER_0_81A, VER_0_81, HEAD
move codecnv (T.Yui)


enum {
	FDAT_BOLD			= 0x01,
	FDAT_PROPORTIONAL	= 0x02,
	FDAT_ALIAS			= 0x04,
	FDAT_ANSI			= 0x08
};

enum {
	FDAT_DEPTH			= 64,
	FDAT_DEPTHBIT		= 6
};

typedef struct {
	int		width;
	int		height;
	int		pitch;
} _FNTDAT, *FNTDAT;


#ifdef __cplusplus
extern "C" {
#endif

void *fontmng_create(int size, UINT type, const TCHAR *fontface);
void fontmng_destroy(void *hdl);

BRESULT fontmng_getsize(void *hdl, const OEMCHAR *string, POINT_T *pt);
BRESULT fontmng_getdrawsize(void *hdl, const OEMCHAR *string, POINT_T *pt);
FNTDAT fontmng_get(void *hdl, const OEMCHAR *string);

#ifdef __cplusplus
}
#endif


RetroPC.NET-CVS <cvs@retropc.net>