MagickWand.h

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

Generated on 2 Jan 2020 for MagickWand by  doxygen 1.6.1