00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef MAGICKCORE_TYPE_H
00019 #define MAGICKCORE_TYPE_H
00020
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024
00025 typedef enum
00026 {
00027 UndefinedStretch,
00028 NormalStretch,
00029 UltraCondensedStretch,
00030 ExtraCondensedStretch,
00031 CondensedStretch,
00032 SemiCondensedStretch,
00033 SemiExpandedStretch,
00034 ExpandedStretch,
00035 ExtraExpandedStretch,
00036 UltraExpandedStretch,
00037 AnyStretch
00038 } StretchType;
00039
00040 typedef enum
00041 {
00042 UndefinedStyle,
00043 NormalStyle,
00044 ItalicStyle,
00045 ObliqueStyle,
00046 AnyStyle,
00047 BoldStyle
00048 } StyleType;
00049
00050 typedef struct _TypeInfo
00051 {
00052 size_t
00053 face;
00054
00055 char
00056 *path,
00057 *name,
00058 *description,
00059 *family;
00060
00061 StyleType
00062 style;
00063
00064 StretchType
00065 stretch;
00066
00067 size_t
00068 weight;
00069
00070 char
00071 *encoding,
00072 *foundry,
00073 *format,
00074 *metrics,
00075 *glyphs;
00076
00077 MagickBooleanType
00078 stealth;
00079
00080 struct _TypeInfo
00081 *previous,
00082 *next;
00083
00084 size_t
00085 signature;
00086 } TypeInfo;
00087
00088 extern MagickExport char
00089 **GetTypeList(const char *,size_t *,ExceptionInfo *);
00090
00091 extern MagickExport MagickBooleanType
00092 ListTypeInfo(FILE *,ExceptionInfo *),
00093 TypeComponentGenesis(void);
00094
00095 extern MagickExport const TypeInfo
00096 *GetTypeInfo(const char *,ExceptionInfo *),
00097 *GetTypeInfoByFamily(const char *,const StyleType,const StretchType,
00098 const size_t,ExceptionInfo *),
00099 **GetTypeInfoList(const char *,size_t *,ExceptionInfo *);
00100
00101 extern MagickExport void
00102 TypeComponentTerminus(void);
00103
00104 #if defined(__cplusplus) || defined(c_plusplus)
00105 }
00106 #endif
00107
00108 #endif