MagickCore  7.0.9
Convert, Edit, Or Compose Bitmap Images
type.c File Reference

Macros

#define MagickTypeFilename   "type.xml"
 

Functions

static MagickBooleanType IsTypeTreeInstantiated (ExceptionInfo *)
 
static MagickBooleanType LoadTypeCache (SplayTreeInfo *, const char *, const char *, const size_t, ExceptionInfo *)
 
static void * DestroyTypeNode (void *type_info)
 
static SplayTreeInfoAcquireTypeCache (const char *filename, ExceptionInfo *exception)
 
MagickExport const TypeInfoGetTypeInfo (const char *name, ExceptionInfo *exception)
 
MagickExport const TypeInfoGetTypeInfoByFamily (const char *family, const StyleType style, const StretchType stretch, const size_t weight, ExceptionInfo *exception)
 
static int TypeInfoCompare (const void *x, const void *y)
 
MagickExport const TypeInfo ** GetTypeInfoList (const char *pattern, size_t *number_fonts, ExceptionInfo *exception)
 
static int TypeCompare (const void *x, const void *y)
 
MagickExport char ** GetTypeList (const char *pattern, size_t *number_fonts, ExceptionInfo *exception)
 
MagickExport MagickBooleanType ListTypeInfo (FILE *file, ExceptionInfo *exception)
 
static MagickBooleanType SetTypeNodePath (const char *filename, char *font_path, const char *token, char **target)
 
MagickPrivate MagickBooleanType TypeComponentGenesis (void)
 
MagickPrivate void TypeComponentTerminus (void)
 

Variables

static const char TypeMap []
 
static SemaphoreInfotype_semaphore = (SemaphoreInfo *) NULL
 
static SplayTreeInfotype_cache = (SplayTreeInfo *) NULL
 

Macro Definition Documentation

#define MagickTypeFilename   "type.xml"

Referenced by IsTypeTreeInstantiated().

Function Documentation

static MagickBooleanType SetTypeNodePath ( const char *  filename,
char *  font_path,
const char *  token,
char **  target 
)
inlinestatic
static int TypeCompare ( const void *  x,
const void *  y 
)
static

References LocaleCompare().

Referenced by GetTypeList().

MagickPrivate MagickBooleanType TypeComponentGenesis ( void  )
static int TypeInfoCompare ( const void *  x,
const void *  y 
)
static

References LocaleCompare().

Referenced by GetTypeInfoList().

Variable Documentation

const char TypeMap[]
static
Initial value:
=
"<?xml version=\"1.0\"?>"
"<typemap>"
" <type stealth=\"True\" name=\"fixed\" family=\"helvetica\"/>"
" <type stealth=\"True\" name=\"helvetica\" family=\"helvetica\"/>"
"</typemap>"

Referenced by AcquireTypeCache().