diff options
Diffstat (limited to 'src/gdft.c')
-rw-r--r-- | src/gdft.c | 21 |
1 files changed, 19 insertions, 2 deletions
@@ -92,6 +92,9 @@ static char *font_path(char **fontpath, char *name_list); #define TRUE !FALSE #endif +/* + Function: gdImageStringTTF +*/ BGD_DECLARE(char *) gdImageStringTTF (gdImage * im, int *brect, int fg, char *fontlist, double ptsize, double angle, int x, int y, char *string) { @@ -866,11 +869,17 @@ gdft_draw_bitmap (gdCache_head_t * tc_cache, gdImage * im, int fg, return (char *) NULL; } +/* + Function: gdFreeFontCache +*/ BGD_DECLARE(void) gdFreeFontCache () { gdFontCacheShutdown (); } +/* + Function: gdFontCacheShutdown +*/ BGD_DECLARE(void) gdFontCacheShutdown () { if (fontCache) { @@ -884,9 +893,11 @@ BGD_DECLARE(void) gdFontCacheShutdown () } } -/********************************************************************/ -/* gdImageStringFT - render a utf8 string onto a gd image */ +/* + Function: gdImageStringFT + Render a utf8 string onto a gd image. +*/ BGD_DECLARE(char *) gdImageStringFT (gdImage * im, int *brect, int fg, char *fontlist, double ptsize, double angle, int x, int y, char *string) { @@ -894,6 +905,9 @@ BGD_DECLARE(char *) gdImageStringFT (gdImage * im, int *brect, int fg, char *fon ptsize, angle, x, y, string, 0); } +/* + Function: gdFontCacheSetup +*/ BGD_DECLARE(int) gdFontCacheSetup (void) { if (fontCache) { @@ -1842,6 +1856,9 @@ static char * font_path(char **fontpath, char *name_list) return NULL; } +/* + Function: gdFTUseFontConfig +*/ BGD_DECLARE(int) gdFTUseFontConfig(int flag) { #ifdef HAVE_LIBFONTCONFIG |