00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _MAGICK_WAND_H
00020 #define _MAGICK_WAND_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 "magick/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 <stdint.h>
00063 #include <math.h>
00064 #include <sys/types.h>
00065 #include <time.h>
00066
00067 #if defined(WIN32) || defined(WIN64)
00068 # define MAGICKWAND_WINDOWS_SUPPORT
00069 #else
00070 # define MAGICKWAND_POSIX_SUPPORT
00071 #endif
00072
00073 typedef struct _MagickWand
00074 MagickWand;
00075
00076 #include "wand/method-attribute.h"
00077 #include "magick/MagickCore.h"
00078 #include "wand/animate.h"
00079 #include "wand/compare.h"
00080 #include "wand/composite.h"
00081 #include "wand/conjure.h"
00082 #include "wand/convert.h"
00083 #include "wand/deprecate.h"
00084 #include "wand/display.h"
00085 #include "wand/drawing-wand.h"
00086 #include "wand/identify.h"
00087 #include "wand/import.h"
00088 #include "wand/magick-property.h"
00089 #include "wand/magick-image.h"
00090 #include "wand/mogrify.h"
00091 #include "wand/montage.h"
00092 #include "wand/pixel-iterator.h"
00093 #include "wand/pixel-wand.h"
00094 #include "wand/stream.h"
00095 #include "wand/wand-view.h"
00096
00097 extern WandExport char
00098 *MagickGetException(const MagickWand *,ExceptionType *);
00099
00100 extern WandExport ExceptionType
00101 MagickGetExceptionType(const MagickWand *);
00102
00103 extern WandExport MagickBooleanType
00104 IsMagickWand(const MagickWand *),
00105 IsMagickWandInstantiated(void),
00106 MagickClearException(MagickWand *),
00107 MagickSetIteratorIndex(MagickWand *,const ssize_t);
00108
00109 extern WandExport MagickWand
00110 *CloneMagickWand(const MagickWand *),
00111 *DestroyMagickWand(MagickWand *),
00112 *NewMagickWand(void),
00113 *NewMagickWandFromImage(const Image *);
00114
00115 extern WandExport ssize_t
00116 MagickGetIteratorIndex(MagickWand *);
00117
00118 extern WandExport void
00119 ClearMagickWand(MagickWand *),
00120 MagickWandGenesis(void),
00121 MagickWandTerminus(void),
00122 *MagickRelinquishMemory(void *),
00123 MagickResetIterator(MagickWand *),
00124 MagickSetFirstIterator(MagickWand *),
00125 MagickSetLastIterator(MagickWand *);
00126
00127 #if defined(__cplusplus) || defined(c_plusplus)
00128 }
00129 #endif
00130
00131 #endif