File: 
 
[RetroPC.NET] / 
np2 / 
macos9 / 
fontmng.h
 Revision 
1.1: 
download - view: 
text, 
annotated - 
select for diffs
Thu Oct 23 16:20:43 2003 JST (22 years ago) by 
yui
Branches: 
MAIN
CVS tags: 
VER_0_82_x64,
VER_0_82,
VER_0_81A,
VER_0_81,
VER_0_80,
VER_0_79,
VER_0_78,
VER_0_77,
VER_0_76,
VER_0_75,
VER_0_74,
VER_0_73,
VER_0_72,
VER_0_71,
VER_0_70,
HEAD
add MacOS9 (T.Yui)
enum {
	FDAT_BOLD			= 0x01,
	FDAT_PROPORTIONAL	= 0x02,
	FDAT_ALIAS			= 0x04,
	FDAT_ANSI			= 0x08
};
enum {
	FDAT_DEPTH			= 255,
	FDAT_DEPTHBIT		= 8
};
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);
BOOL fontmng_getsize(void *hdl, const char *string, POINT_T *pt);
BOOL fontmng_getdrawsize(void *hdl, const char *string, POINT_T *pt);
FNTDAT fontmng_get(void *hdl, const char *string);
#ifdef __cplusplus
}
#endif
RetroPC.NET-CVS <cvs@retropc.net>