|
MagickCore
6.7.7
|
00001 /* 00002 Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization 00003 dedicated to making software imaging solutions freely available. 00004 00005 You may not use this file except in compliance with the License. 00006 obtain a copy of the License at 00007 00008 http://www.imagemagick.org/script/license.php 00009 00010 Unless required by applicable law or agreed to in writing, software 00011 distributed under the License is distributed on an "AS IS" BASIS, 00012 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 See the License for the specific language governing permissions and 00014 limitations under the License. 00015 00016 MagickCore image type methods. 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 } StyleType; 00048 00049 typedef struct _TypeInfo 00050 { 00051 size_t 00052 face; 00053 00054 char 00055 *path, 00056 *name, 00057 *description, 00058 *family; 00059 00060 StyleType 00061 style; 00062 00063 StretchType 00064 stretch; 00065 00066 size_t 00067 weight; 00068 00069 char 00070 *encoding, 00071 *foundry, 00072 *format, 00073 *metrics, 00074 *glyphs; 00075 00076 MagickBooleanType 00077 stealth; 00078 00079 size_t 00080 signature; 00081 } TypeInfo; 00082 00083 extern MagickExport char 00084 **GetTypeList(const char *,size_t *,ExceptionInfo *); 00085 00086 extern MagickExport MagickBooleanType 00087 ListTypeInfo(FILE *,ExceptionInfo *); 00088 00089 extern MagickExport const TypeInfo 00090 *GetTypeInfo(const char *,ExceptionInfo *), 00091 *GetTypeInfoByFamily(const char *,const StyleType,const StretchType, 00092 const size_t,ExceptionInfo *), 00093 **GetTypeInfoList(const char *,size_t *,ExceptionInfo *); 00094 00095 #if defined(__cplusplus) || defined(c_plusplus) 00096 } 00097 #endif 00098 00099 #endif