MagickWand  6.9.10
Convert, Edit, Or Compose Bitmap Images
MagickWand.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2019 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  https://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(magick_restrict)
40 # if !defined(_magickcore_restrict)
41 # define magick_restrict restrict
42 # else
43 # define magick_restrict _magickcore_restrict
44 # endif
45 #endif
46 # if defined(__cplusplus) || defined(c_plusplus)
47 # undef inline
48 # endif
49 #endif
50 
51 #define MAGICKWAND_CHECK_VERSION(major,minor,micro) \
52  ((MAGICKWAND_MAJOR_VERSION > (major)) || \
53  ((MAGICKWAND_MAJOR_VERSION == (major)) && \
54  (MAGICKWAND_MINOR_VERSION > (minor))) || \
55  ((MAGICKWAND_MAJOR_VERSION == (major)) && \
56  (MAGICKWAND_MINOR_VERSION == (minor)) && \
57  (MAGICKWAND_MICRO_VERSION >= (micro))))
58 
59 #include <stdio.h>
60 #include <stdarg.h>
61 #include <stdlib.h>
62 #include <math.h>
63 #include <sys/types.h>
64 #include <time.h>
65 
66 #if defined(WIN32) || defined(WIN64)
67 # define MAGICKWAND_WINDOWS_SUPPORT
68 #else
69 # define MAGICKWAND_POSIX_SUPPORT
70 #endif
71 
72 typedef struct _MagickWand
73  MagickWand;
74 
75 #include "wand/method-attribute.h"
76 #include "magick/MagickCore.h"
77 #include "wand/animate.h"
78 #include "wand/compare.h"
79 #include "wand/composite.h"
80 #include "wand/conjure.h"
81 #include "wand/convert.h"
82 #include "wand/deprecate.h"
83 #include "wand/display.h"
84 #include "wand/drawing-wand.h"
85 #include "wand/identify.h"
86 #include "wand/import.h"
87 #include "wand/magick-property.h"
88 #include "wand/magick-image.h"
89 #include "wand/mogrify.h"
90 #include "wand/montage.h"
91 #include "wand/pixel-iterator.h"
92 #include "wand/pixel-wand.h"
93 #include "wand/stream.h"
94 #include "wand/wand-view.h"
95 
96 extern WandExport char
97  *MagickGetException(const MagickWand *,ExceptionType *);
98 
99 extern WandExport ExceptionType
101 
102 extern WandExport MagickBooleanType
106  MagickSetIteratorIndex(MagickWand *,const ssize_t);
107 
108 extern WandExport MagickWand
112  *NewMagickWandFromImage(const Image *);
113 
114 extern WandExport ssize_t
116 
117 extern WandExport void
125 
126 #if defined(__cplusplus) || defined(c_plusplus)
127 }
128 #endif
129 
130 #endif
IsMagickWandInstantiated
WandExport MagickBooleanType IsMagickWandInstantiated(void)
MagickSetLastIterator
WandExport void MagickSetLastIterator(MagickWand *)
Definition: magick-wand.c:981
MagickWandGenesis
WandExport void MagickWandGenesis(void)
MagickSetIteratorIndex
WandExport MagickBooleanType MagickSetIteratorIndex(MagickWand *, const ssize_t)
Definition: magick-wand.c:927
compare.h
pixel-iterator.h
drawing-wand.h
NewMagickWandFromImage
WandExport MagickWand * NewMagickWandFromImage(const Image *)
Definition: magick-wand.c:1117
MagickResetIterator
WandExport void MagickResetIterator(MagickWand *)
IsMagickWand
WandExport MagickBooleanType IsMagickWand(const MagickWand *)
MagickSetFirstIterator
WandExport void MagickSetFirstIterator(MagickWand *)
mogrify.h
deprecate.h
ClearMagickWand
WandExport void ClearMagickWand(MagickWand *)
identify.h
MagickClearException
WandExport MagickBooleanType MagickClearException(MagickWand *)
stream.h
MagickGetExceptionType
WandExport ExceptionType MagickGetExceptionType(const MagickWand *)
Definition: magick-wand.c:335
method-attribute.h
MagickRelinquishMemory
WandExport void * MagickRelinquishMemory(void *)
animate.h
_MagickWand
Definition: magick-wand-private.h:51
convert.h
magick-image.h
composite.h
CloneMagickWand
WandExport MagickWand * CloneMagickWand(const MagickWand *)
MagickGetException
WandExport char * MagickGetException(const MagickWand *, ExceptionType *)
Definition: magick-wand.c:278
NewMagickWand
WandExport MagickWand * NewMagickWand(void)
display.h
montage.h
conjure.h
pixel-wand.h
wand-view.h
MagickGetIteratorIndex
WandExport ssize_t MagickGetIteratorIndex(MagickWand *)
Definition: magick-wand.c:367
magick-property.h
MagickWandTerminus
WandExport void MagickWandTerminus(void)
DestroyMagickWand
WandExport MagickWand * DestroyMagickWand(MagickWand *)
import.h
WandExport
#define WandExport
Definition: method-attribute.h:71