MagickWand.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2019 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.  You may
00006   obtain a copy of the License at
00007   
00008     https://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   MagickWand Application Programming Interface declarations.
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 <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 "wand/method-attribute.h"
00076 #include "magick/MagickCore.h"
00077 #include "wand/animate.h"
00078 #include "wand/compare.h"
00079 #include "wand/composite.h"
00080 #include "wand/conjure.h"
00081 #include "wand/convert.h"
00082 #include "wand/deprecate.h"
00083 #include "wand/display.h"
00084 #include "wand/drawing-wand.h"
00085 #include "wand/identify.h"
00086 #include "wand/import.h"
00087 #include "wand/magick-property.h"
00088 #include "wand/magick-image.h"
00089 #include "wand/mogrify.h"
00090 #include "wand/montage.h"
00091 #include "wand/pixel-iterator.h"
00092 #include "wand/pixel-wand.h"
00093 #include "wand/stream.h"
00094 #include "wand/wand-view.h"
00095 
00096 extern WandExport char
00097   *MagickGetException(const MagickWand *,ExceptionType *);
00098 
00099 extern WandExport ExceptionType
00100   MagickGetExceptionType(const MagickWand *);
00101 
00102 extern WandExport MagickBooleanType
00103   IsMagickWand(const MagickWand *),
00104   IsMagickWandInstantiated(void),
00105   MagickClearException(MagickWand *),
00106   MagickSetIteratorIndex(MagickWand *,const ssize_t);
00107 
00108 extern WandExport MagickWand
00109   *CloneMagickWand(const MagickWand *),
00110   *DestroyMagickWand(MagickWand *),
00111   *NewMagickWand(void),
00112   *NewMagickWandFromImage(const Image *);
00113 
00114 extern WandExport ssize_t
00115   MagickGetIteratorIndex(MagickWand *);
00116 
00117 extern WandExport void
00118   ClearMagickWand(MagickWand *),
00119   MagickWandGenesis(void),
00120   MagickWandTerminus(void),
00121   *MagickRelinquishMemory(void *),
00122   MagickResetIterator(MagickWand *),
00123   MagickSetFirstIterator(MagickWand *),
00124   MagickSetLastIterator(MagickWand *);
00125 
00126 #if defined(__cplusplus) || defined(c_plusplus)
00127 }
00128 #endif
00129 
00130 #endif

Generated on 22 Jul 2019 for MagickWand by  doxygen 1.6.1