Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-18 09:18:38

0001 /*
0002   Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization
0003   dedicated to making software imaging solutions freely available.
0004   
0005   You may not use this file except in compliance with the License.  You may
0006   obtain a copy of the License at
0007   
0008     https://imagemagick.org/script/license.php
0009   
0010   Unless required by applicable law or agreed to in writing, software
0011   distributed under the License is distributed on an "AS IS" BASIS,
0012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013   See the License for the specific language governing permissions and
0014   limitations under the License.
0015 
0016   MagickWand Application Programming Interface declarations.
0017 */
0018 
0019 #ifndef MAGICKWAND_MAGICKWAND_H
0020 #define MAGICKWAND_MAGICKWAND_H
0021 
0022 #if defined(__cplusplus) || defined(c_plusplus)
0023 extern "C" {
0024 #endif
0025 
0026 #if !defined(MAGICKWAND_CONFIG_H)
0027 # define MAGICKWAND_CONFIG_H
0028 # if !defined(vms)
0029 #  include "MagickCore/magick-config.h"
0030 # else
0031 #  include "magick-config.h"
0032 # endif
0033 #if defined(_magickcore_const) && !defined(const)
0034 # define const _magickcore_const
0035 #endif
0036 #if defined(_magickcore_inline) && !defined(inline)
0037 # define inline _magickcore_inline
0038 #endif
0039 #if !defined(magick_restrict)
0040 # if !defined(_magickcore_restrict)
0041 #  define magick_restrict restrict
0042 # else
0043 #  define magick_restrict _magickcore_restrict
0044 # endif
0045 #endif
0046 # if defined(__cplusplus) || defined(c_plusplus)
0047 #  undef inline
0048 # endif
0049 #endif
0050 
0051 #define MAGICKWAND_CHECK_VERSION(major,minor,micro) \
0052   ((MAGICKWAND_MAJOR_VERSION > (major)) || \
0053     ((MAGICKWAND_MAJOR_VERSION == (major)) && \
0054      (MAGICKWAND_MINOR_VERSION > (minor))) || \
0055     ((MAGICKWAND_MAJOR_VERSION == (major)) && \
0056      (MAGICKWAND_MINOR_VERSION == (minor)) && \
0057      (MAGICKWAND_MICRO_VERSION >= (micro))))
0058 
0059 #include <stdio.h>
0060 #include <stdarg.h>
0061 #include <stdlib.h>
0062 #include <stdint.h>
0063 #include <math.h>
0064 #include <sys/types.h>
0065 #include <time.h>
0066 
0067 #if defined(WIN32) || defined(WIN64)
0068 #  define MAGICKWAND_WINDOWS_SUPPORT
0069 #else
0070 #  define MAGICKWAND_POSIX_SUPPORT
0071 #endif 
0072 
0073 typedef struct _MagickWand
0074   MagickWand;
0075 
0076 #include "MagickWand/method-attribute.h"
0077 #include "MagickCore/MagickCore.h"
0078 #include "MagickWand/animate.h"
0079 #include "MagickWand/compare.h"
0080 #include "MagickWand/composite.h"
0081 #include "MagickWand/conjure.h"
0082 #include "MagickWand/deprecate.h"
0083 #include "MagickWand/display.h"
0084 #include "MagickWand/drawing-wand.h"
0085 #include "MagickWand/identify.h"
0086 #include "MagickWand/import.h"
0087 #include "MagickWand/wandcli.h"
0088 #include "MagickWand/operation.h"
0089 #include "MagickWand/magick-cli.h"
0090 #include "MagickWand/magick-property.h"
0091 #include "MagickWand/magick-image.h"
0092 #include "MagickWand/mogrify.h"
0093 #include "MagickWand/montage.h"
0094 #include "MagickWand/pixel-iterator.h"
0095 #include "MagickWand/pixel-wand.h"
0096 #include "MagickWand/stream.h"
0097 #include "MagickWand/wand-view.h"
0098 
0099 extern WandExport char
0100   *MagickGetException(const MagickWand *,ExceptionType *);
0101 
0102 extern WandExport ExceptionType
0103   MagickGetExceptionType(const MagickWand *);
0104 
0105 extern WandExport MagickBooleanType
0106   IsMagickWand(const MagickWand *),
0107   IsMagickWandInstantiated(void),
0108   MagickClearException(MagickWand *),
0109   MagickSetIteratorIndex(MagickWand *,const ssize_t);
0110 
0111 extern WandExport MagickWand
0112   *CloneMagickWand(const MagickWand *),
0113   *DestroyMagickWand(MagickWand *),
0114   *NewMagickWand(void),
0115   *NewMagickWandFromImage(const Image *);
0116 
0117 extern WandExport ssize_t
0118   MagickGetIteratorIndex(MagickWand *);
0119 
0120 extern WandExport void
0121   ClearMagickWand(MagickWand *),
0122   MagickWandGenesis(void),
0123   MagickWandTerminus(void),
0124   *MagickRelinquishMemory(void *),
0125   MagickResetIterator(MagickWand *),
0126   MagickSetFirstIterator(MagickWand *),
0127   MagickSetLastIterator(MagickWand *);
0128 
0129 #if defined(__cplusplus) || defined(c_plusplus)
0130 }
0131 #endif
0132 
0133 #endif