MagickWand  6.8.9
MagickWand.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License.
6  obtain a copy of the License at
7 
8  http://www.imagemagick.org/script/license.php
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  MagickWand Application Programming Interface declarations.
17 */
18 
19 #ifndef _MAGICK_WAND_H
20 #define _MAGICK_WAND_H
21 
22 #if defined(__cplusplus) || defined(c_plusplus)
23 extern "C" {
24 #endif
25 
26 #if !defined(_MAGICKWAND_CONFIG_H)
27 # define _MAGICKWAND_CONFIG_H
28 # if !defined(vms) && !defined(macintosh)
29 # include "magick/magick-config.h"
30 # else
31 # include "magick-config.h"
32 # endif
33 #if defined(_magickcore_const) && !defined(const)
34 # define const _magickcore_const
35 #endif
36 #if defined(_magickcore_inline) && !defined(inline)
37 # define inline _magickcore_inline
38 #endif
39 #if defined(_magickcore_restrict) && !defined(restrict)
40 # define restrict _magickcore_restrict
41 #endif
42 # if defined(__cplusplus) || defined(c_plusplus)
43 # undef inline
44 # endif
45 #endif
46 
47 #define MAGICKWAND_CHECK_VERSION(major,minor,micro) \
48  ((MAGICKWAND_MAJOR_VERSION > (major)) || \
49  ((MAGICKWAND_MAJOR_VERSION == (major)) && \
50  (MAGICKWAND_MINOR_VERSION > (minor))) || \
51  ((MAGICKWAND_MAJOR_VERSION == (major)) && \
52  (MAGICKWAND_MINOR_VERSION == (minor)) && \
53  (MAGICKWAND_MICRO_VERSION >= (micro))))
54 
55 #include <stdio.h>
56 #include <stdarg.h>
57 #include <stdlib.h>
58 #include <math.h>
59 #include <sys/types.h>
60 #include <time.h>
61 
62 #if defined(WIN32) || defined(WIN64)
63 # define MAGICKWAND_WINDOWS_SUPPORT
64 #else
65 # define MAGICKWAND_POSIX_SUPPORT
66 #endif
67 
68 typedef struct _MagickWand
69  MagickWand;
70 
71 #include "wand/method-attribute.h"
72 #include "magick/MagickCore.h"
73 #include "wand/animate.h"
74 #include "wand/compare.h"
75 #include "wand/composite.h"
76 #include "wand/conjure.h"
77 #include "wand/convert.h"
78 #include "wand/deprecate.h"
79 #include "wand/display.h"
80 #include "wand/drawing-wand.h"
81 #include "wand/identify.h"
82 #include "wand/import.h"
83 #include "wand/magick-property.h"
84 #include "wand/magick-image.h"
85 #include "wand/mogrify.h"
86 #include "wand/montage.h"
87 #include "wand/pixel-iterator.h"
88 #include "wand/pixel-wand.h"
89 #include "wand/stream.h"
90 #include "wand/wand-view.h"
91 
92 extern WandExport char
93  *MagickGetException(const MagickWand *,ExceptionType *);
94 
95 extern WandExport ExceptionType
97 
98 extern WandExport MagickBooleanType
99  IsMagickWand(const MagickWand *),
102  MagickSetIteratorIndex(MagickWand *,const ssize_t);
103 
104 extern WandExport MagickWand
105  *CloneMagickWand(const MagickWand *),
107  *NewMagickWand(void),
108  *NewMagickWandFromImage(const Image *);
109 
110 extern WandExport ssize_t
112 
113 extern WandExport void
115  MagickWandGenesis(void),
116  MagickWandTerminus(void),
117  *MagickRelinquishMemory(void *),
121 
122 #if defined(__cplusplus) || defined(c_plusplus)
123 }
124 #endif
125 
126 #endif
WandExport void MagickWandTerminus(void)
WandExport MagickBooleanType IsMagickWand(const MagickWand *)
WandExport MagickWand * DestroyMagickWand(MagickWand *)
WandExport ssize_t MagickGetIteratorIndex(MagickWand *)
Definition: magick-wand.c:367
WandExport ExceptionType MagickGetExceptionType(const MagickWand *)
Definition: magick-wand.c:335
WandExport void MagickSetFirstIterator(MagickWand *)
#define WandExport
Definition: method-attribute.h:92
WandExport void * MagickRelinquishMemory(void *)
WandExport void ClearMagickWand(MagickWand *)
WandExport void MagickResetIterator(MagickWand *)
WandExport MagickBooleanType MagickSetIteratorIndex(MagickWand *, const ssize_t)
Definition: magick-wand.c:926
WandExport MagickWand * NewMagickWand(void)
Definition: magick-wand-private.h:50
WandExport MagickBooleanType MagickClearException(MagickWand *)
WandExport MagickBooleanType IsMagickWandInstantiated(void)
WandExport void MagickWandGenesis(void)
WandExport char * MagickGetException(const MagickWand *, ExceptionType *)
Definition: magick-wand.c:278
WandExport MagickWand * CloneMagickWand(const MagickWand *)
WandExport void MagickSetLastIterator(MagickWand *)
Definition: magick-wand.c:980
WandExport MagickWand * NewMagickWandFromImage(const Image *)
Definition: magick-wand.c:1116