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