2 Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
8 http://www.imagemagick.org/script/license.php
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.
16 ImageMagick pixel wand API.
18 #ifndef _MAGICKWAND_MAGICK_WAND_PRIVATE_H
19 #define _MAGICKWAND_MAGICK_WAND_PRIVATE_H
21 #if defined(__cplusplus) || defined(c_plusplus)
25 #define DegreesToRadians(x) (MagickPI*(x)/180.0)
26 #define MagickWandId "MagickWand"
27 #define QuantumTick(i,span) ((MagickBooleanType) ((((i) & ((i)-1)) == 0) || \
28 (((i) & 0xfff) == 0) || \
29 ((MagickOffsetType) (i) == ((MagickOffsetType) (span)-1))))
30 #define RadiansToDegrees(x) (180.0*(x)/MagickPI)
38 name[MaxTextExtent]; /* Wand name to use for MagickWand Logs */
41 *images; /* The images in this wand */
44 *image_info; /* Global settings used for images in Wand */
47 *quantize_info; /* for CLI API usage, not used by MagickWand API */
50 *draw_info; /* for CLI API usage, not used by MagickWand API */
53 set_first, /* wand set to first image, prepend new images */
54 image_pending, /* this image is pending Next Iteration */
55 debug; /* Log calls to MagickWand library */
64 #if defined(__cplusplus) || defined(c_plusplus)