diff options
author | scuri <scuri> | 2010-05-27 02:53:08 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-05-27 02:53:08 +0000 |
commit | b13afc2e6f0811cc14532c4f1060bc73b6053df4 (patch) | |
tree | 290a877d7397eab85226b719254b6c4ca1b12147 /src/sim/truetype.h | |
parent | a089059af0f396f778df1b56e0e292416bc35d6b (diff) |
*** empty log message ***
Diffstat (limited to 'src/sim/truetype.h')
-rw-r--r-- | src/sim/truetype.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/sim/truetype.h b/src/sim/truetype.h deleted file mode 100644 index 5675998..0000000 --- a/src/sim/truetype.h +++ /dev/null @@ -1,46 +0,0 @@ -/** \file - * \brief Text and Font Simulation using FreeType library. - * - * See Copyright Notice in cd.h - */ - -#ifndef __TRUETYPE_H -#define __TRUETYPE_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include "ft2build.h" -#include FT_FREETYPE_H - -/* - In CD version 4.4 we start to use FreeType 2. - Only TrueType font support is enabled. -*/ - -typedef struct _cdTT_Text -{ - FT_Library library; - FT_Face face; - - unsigned char* rgba_data; - int rgba_data_size; - - int max_height; - int max_width; - int descent; - int ascent; - -}cdTT_Text; - -cdTT_Text* cdTT_create(void); -void cdTT_free(cdTT_Text * tt_text); -int cdTT_load(cdTT_Text * tt_text, const char *font,int size, double xres, double yres); - -#ifdef __cplusplus -} -#endif - -#endif /* ifndef _CD_TRUETYPE_ */ - |