00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef MAGICKWAND_MAGICKWAND_H
00020 #define MAGICKWAND_MAGICKWAND_H
00021
00022 #if defined(__cplusplus) || defined(c_plusplus)
00023 extern "C" {
00024 #endif
00025
00026 #if !defined(MAGICKWAND_CONFIG_H)
00027 # define MAGICKWAND_CONFIG_H
00028 # if !defined(vms) && !defined(macintosh)
00029 # include "MagickCore/magick-config.h"
00030 # else
00031 # include "magick-config.h"
00032 # endif
00033 #if defined(_magickcore_const) && !defined(const)
00034 # define const _magickcore_const
00035 #endif
00036 #if defined(_magickcore_inline) && !defined(inline)
00037 # define inline _magickcore_inline
00038 #endif
00039 #if !defined(magick_restrict)
00040 # if !defined(_magickcore_restrict)
00041 # define magick_restrict restrict
00042 # else
00043 # define magick_restrict _magickcore_restrict
00044 # endif
00045 #endif
00046 # if defined(__cplusplus) || defined(c_plusplus)
00047 # undef inline
00048 # endif
00049 #endif
00050
00051 #define MAGICKWAND_CHECK_VERSION(major,minor,micro) \
00052 ((MAGICKWAND_MAJOR_VERSION > (major)) || \
00053 ((MAGICKWAND_MAJOR_VERSION == (major)) && \
00054 (MAGICKWAND_MINOR_VERSION > (minor))) || \
00055 ((MAGICKWAND_MAJOR_VERSION == (major)) && \
00056 (MAGICKWAND_MINOR_VERSION == (minor)) && \
00057 (MAGICKWAND_MICRO_VERSION >= (micro))))
00058
00059 #include <stdio.h>
00060 #include <stdarg.h>
00061 #include <stdlib.h>
00062 #include <math.h>
00063 #include <sys/types.h>
00064 #include <time.h>
00065
00066 #if defined(WIN32) || defined(WIN64)
00067 # define MAGICKWAND_WINDOWS_SUPPORT
00068 #else
00069 # define MAGICKWAND_POSIX_SUPPORT
00070 #endif
00071
00072 typedef struct _MagickWand
00073 MagickWand;
00074
00075 #include "MagickWand/method-attribute.h"
00076 #include "MagickCore/MagickCore.h"
00077 #include "MagickWand/animate.h"
00078 #include "MagickWand/compare.h"
00079 #include "MagickWand/composite.h"
00080 #include "MagickWand/conjure.h"
00081 #include "MagickWand/convert.h"
00082 #include "MagickWand/deprecate.h"
00083 #include "MagickWand/display.h"
00084 #include "MagickWand/drawing-wand.h"
00085 #include "MagickWand/identify.h"
00086 #include "MagickWand/import.h"
00087 #include "MagickWand/wandcli.h"
00088 #include "MagickWand/operation.h"
00089 #include "MagickWand/magick-cli.h"
00090 #include "MagickWand/magick-property.h"
00091 #include "MagickWand/magick-image.h"
00092 #include "MagickWand/mogrify.h"
00093 #include "MagickWand/montage.h"
00094 #include "MagickWand/pixel-iterator.h"
00095 #include "MagickWand/pixel-wand.h"
00096 #include "MagickWand/stream.h"
00097 #include "MagickWand/wand-view.h"
00098
00099 extern WandExport char
00100 *MagickGetException(const MagickWand *,ExceptionType *);
00101
00102 extern WandExport ExceptionType
00103 MagickGetExceptionType(const MagickWand *);
00104
00105 extern WandExport MagickBooleanType
00106 IsMagickWand(const MagickWand *),
00107 IsMagickWandInstantiated(void),
00108 MagickClearException(MagickWand *),
00109 MagickSetIteratorIndex(MagickWand *,const ssize_t);
00110
00111 extern WandExport MagickWand
00112 *CloneMagickWand(const MagickWand *),
00113 *DestroyMagickWand(MagickWand *),
00114 *NewMagickWand(void),
00115 *NewMagickWandFromImage(const Image *);
00116
00117 extern WandExport ssize_t
00118 MagickGetIteratorIndex(MagickWand *);
00119
00120 extern WandExport void
00121 ClearMagickWand(MagickWand *),
00122 MagickWandGenesis(void),
00123 MagickWandTerminus(void),
00124 *MagickRelinquishMemory(void *),
00125 MagickResetIterator(MagickWand *),
00126 MagickSetFirstIterator(MagickWand *),
00127 MagickSetLastIterator(MagickWand *);
00128
00129 #if defined(__cplusplus) || defined(c_plusplus)
00130 }
00131 #endif
00132
00133 #endif