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 size_t
00081 signature;
00082 } TypeInfo;
00083
00084 extern MagickExport char
00085 **GetTypeList(const char *,size_t *,ExceptionInfo *);
00086
00087 extern MagickExport MagickBooleanType
00088 ListTypeInfo(FILE *,ExceptionInfo *);
00089
00090 extern MagickExport const TypeInfo
00091 *GetTypeInfo(const char *,ExceptionInfo *),
00092 *GetTypeInfoByFamily(const char *,const StyleType,const StretchType,
00093 const size_t,ExceptionInfo *),
00094 **GetTypeInfoList(const char *,size_t *,ExceptionInfo *);
00095
00096 #if defined(__cplusplus) || defined(c_plusplus)
00097 }
00098 #endif
00099
00100 #endif