MagickCore  6.9.11-60
Convert, Edit, Or Compose Bitmap Images
type.c File Reference
#include "magick/studio.h"
#include "magick/blob.h"
#include "magick/client.h"
#include "magick/configure.h"
#include "magick/draw.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/hashmap.h"
#include "magick/image-private.h"
#include "magick/log.h"
#include "magick/memory_.h"
#include "magick/nt-base-private.h"
#include "magick/nt-feature.h"
#include "magick/option.h"
#include "magick/semaphore.h"
#include "magick/splay-tree.h"
#include "magick/string_.h"
#include "magick/string-private.h"
#include "magick/type.h"
#include "magick/token.h"
#include "magick/utility.h"
#include "magick/xml-tree.h"
Include dependency graph for type.c:

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)
 
MagickExport MagickBooleanType TypeComponentGenesis (void)
 
MagickExport void TypeComponentTerminus (void)
 

Variables

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

Macro Definition Documentation

◆ MagickTypeFilename

#define MagickTypeFilename   "type.xml"

Function Documentation

◆ AcquireTypeCache()

◆ DestroyTypeNode()

◆ GetTypeInfo()

◆ GetTypeInfoByFamily()

◆ GetTypeInfoList()

◆ GetTypeList()

◆ IsTypeTreeInstantiated()

◆ ListTypeInfo()

◆ LoadTypeCache()

◆ SetTypeNodePath()

static MagickBooleanType SetTypeNodePath ( const char *  filename,
char *  font_path,
const char *  token,
char **  target 
)
inlinestatic

◆ TypeCompare()

static int TypeCompare ( const void *  x,
const void *  y 
)
static

References LocaleCompare().

Referenced by GetTypeList().

◆ TypeComponentGenesis()

MagickExport MagickBooleanType TypeComponentGenesis ( void  )

◆ TypeComponentTerminus()

◆ TypeInfoCompare()

static int TypeInfoCompare ( const void *  x,
const void *  y 
)
static

References LocaleCompare().

Referenced by GetTypeInfoList().

Variable Documentation

◆ type_cache

◆ type_semaphore

◆ TypeMap

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().