|
|
| version 1.3, 2003/12/19 16:08:01 | version 1.5, 2011/01/15 19:16:58 |
|---|---|
| Line 1 | Line 1 |
| #ifndef NP2_X11_FONTMNG_H__ | #ifndef NP2_X11_FONTMNG_H__ |
| #define NP2_X11_FONTMNG_H__ | #define NP2_X11_FONTMNG_H__ |
| G_BEGIN_DECLS | |
| enum { | enum { |
| FDAT_BOLD = 0x01, | FDAT_BOLD = 0x01, |
| FDAT_PROPORTIONAL = 0x02, | FDAT_PROPORTIONAL = 0x02, |
| Line 19 typedef struct { | Line 21 typedef struct { |
| int pitch; | int pitch; |
| } _FNTDAT, *FNTDAT; | } _FNTDAT, *FNTDAT; |
| #ifdef __cplusplus | |
| extern "C" { | |
| #endif | |
| BOOL fontmng_init(void); | BOOL fontmng_init(void); |
| void fontmng_terminate(void); | |
| void fontmng_setdeffontname(const TCHAR *fontface); | |
| void* fontmng_create(int size, UINT type, const TCHAR *fontface); | void* fontmng_create(int size, UINT type, const TCHAR *fontface); |
| void fontmng_destroy(void *hdl); | void fontmng_destroy(void *hdl); |
| void fontmng_terminate(void); | |
| BOOL fontmng_getsize(void *hdl, const char *string, POINT_T *pt); | BOOL fontmng_getsize(void *hdl, const char *string, POINT_T *pt); |
| BOOL fontmng_getdrawsize(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); | FNTDAT fontmng_get(void *hdl, const char *string); |
| #ifdef __cplusplus | G_END_DECLS |
| } | |
| #endif | |
| #endif /* NP2_X11_FONTMNG_H__ */ | #endif /* NP2_X11_FONTMNG_H__ */ |