MagickWand.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2009 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   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(__cplusplus) || defined(c_plusplus)
00040 #  undef inline
00041 # endif
00042 #endif
00043 
00044 #include <stdio.h>
00045 #include <stdarg.h>
00046 #include <stdlib.h>
00047 #include <sys/types.h>
00048 
00049 #if defined(__CYGWIN32__)
00050 #  if !defined(__CYGWIN__)
00051 #    define __CYGWIN__ __CYGWIN32__
00052 #  endif
00053 #endif
00054 #if defined(_WIN32) || defined(WIN32)
00055 #  if !defined(__WINDOWS__)
00056 #    if defined(_WIN32)
00057 #      define __WINDOWS__ _WIN32
00058 #    else
00059 #      if defined(WIN32)
00060 #        define __WINDOWS__ WIN32
00061 #      endif
00062 #    endif
00063 #  endif
00064 #endif
00065 
00066 #if defined(_WIN64) || defined(WIN64)
00067 #  if !defined(__WINDOWS__)
00068 #    if defined(_WIN64)
00069 #      define __WINDOWS__ _WIN64
00070 #    else
00071 #      if defined(WIN64)
00072 #        define __WINDOWS__ WIN64
00073 #      endif
00074 #    endif
00075 #  endif
00076 #endif
00077 
00078 #if defined(__WINDOWS__)
00079 # if defined(_MT) && defined(_DLL) && !defined(_MAGICKDLL_) && !defined(_LIB)
00080 #  define _MAGICKDLL_
00081 # endif
00082 # if defined(_MAGICKDLL_)
00083 #  if defined(_VISUALC_)
00084 #   pragma warning( disable: 4273 )  /* Disable the dll linkage warnings */
00085 #  endif
00086 #  if !defined(_MAGICKLIB_)
00087 #   define WandExport  __declspec(dllimport)
00088 #   if defined(_VISUALC_)
00089 #    pragma message( "MagickWand lib DLL import interface" )
00090 #   endif
00091 #  else
00092 #   define WandExport  __declspec(dllexport)
00093 #   if defined(_VISUALC_)
00094 #    pragma message( "MagickWand lib DLL export interface" )
00095 #   endif
00096 #  endif
00097 # else
00098 #  define WandExport
00099 #  if defined(_VISUALC_)
00100 #   pragma message( "MagickWand lib static interface" )
00101 #  endif
00102 # endif
00103 
00104 # if defined(_DLL) && !defined(_LIB)
00105 #  define ModuleExport  __declspec(dllexport)
00106 #  if defined(_VISUALC_)
00107 #   pragma message( "MagickWand module DLL export interface" )
00108 #  endif
00109 # else
00110 #  define ModuleExport
00111 #  if defined(_VISUALC_)
00112 #   pragma message( "MagickWand module static interface" )
00113 #  endif
00114 
00115 # endif
00116 # define WandGlobal __declspec(thread)
00117 # if defined(_VISUALC_)
00118 #  pragma warning(disable : 4018)
00119 #  pragma warning(disable : 4244)
00120 #  pragma warning(disable : 4142)
00121 #  pragma warning(disable : 4800)
00122 #  pragma warning(disable : 4786)
00123 #  pragma warning(disable : 4996)
00124 # endif
00125 #else
00126 # define WandExport
00127 # define ModuleExport
00128 # define WandGlobal
00129 #endif
00130 
00131 #if !defined(MaxTextExtent)
00132 # define MaxTextExtent  4096
00133 #endif
00134 #define WandSignature  0xabacadabUL
00135 
00136 #if !defined(wand_attribute)
00137 #  if !defined(__GNUC__)
00138 #    define wand_attribute(x)  /* nothing */
00139 #  else
00140 #    define wand_attribute  __attribute__
00141 #  endif
00142 #endif
00143 
00144 typedef struct _MagickWand
00145   MagickWand;
00146 
00147 #include "magick/MagickCore.h"
00148 #include "wand/animate.h"
00149 #include "wand/compare.h"
00150 #include "wand/composite.h"
00151 #include "wand/conjure.h"
00152 #include "wand/convert.h"
00153 #include "wand/deprecate.h"
00154 #include "wand/display.h"
00155 #include "wand/drawing-wand.h"
00156 #include "wand/identify.h"
00157 #include "wand/import.h"
00158 #include "wand/magick-property.h"
00159 #include "wand/magick-image.h"
00160 #include "wand/mogrify.h"
00161 #include "wand/montage.h"
00162 #include "wand/pixel-iterator.h"
00163 #include "wand/pixel-view.h"
00164 #include "wand/pixel-wand.h"
00165 #include "wand/stream.h"
00166 
00167 extern WandExport char
00168   *MagickGetException(const MagickWand *,ExceptionType *);
00169 
00170 extern WandExport ExceptionType
00171   MagickGetExceptionType(const MagickWand *);
00172 
00173 extern WandExport long
00174   MagickGetIteratorIndex(MagickWand *);
00175 
00176 extern WandExport MagickBooleanType
00177   IsMagickWand(const MagickWand *),
00178   MagickClearException(MagickWand *),
00179   MagickSetIteratorIndex(MagickWand *,const long);
00180 
00181 extern WandExport MagickWand
00182   *CloneMagickWand(const MagickWand *),
00183   *DestroyMagickWand(MagickWand *),
00184   *NewMagickWand(void),
00185   *NewMagickWandFromImage(const Image *);
00186 
00187 extern WandExport void
00188   ClearMagickWand(MagickWand *),
00189   MagickWandGenesis(void),
00190   MagickWandTerminus(void),
00191   *MagickRelinquishMemory(void *),
00192   MagickResetIterator(MagickWand *),
00193   MagickSetFirstIterator(MagickWand *),
00194   MagickSetLastIterator(MagickWand *);
00195 
00196 #if defined(__cplusplus) || defined(c_plusplus)
00197 }
00198 #endif
00199 
00200 #endif

Generated on 19 Nov 2009 for MagickWand by  doxygen 1.6.1