Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:01:19

0001 // This may look like C code, but it is really -*- C++ -*-
0002 //
0003 // Copyright Bob Friesenhahn, 1999, 2000, 2001, 2002
0004 //
0005 // Copyright @ 2013 ImageMagick Studio LLC, a non-profit organization
0006 // dedicated to making software imaging solutions freely available.
0007 //
0008 // Inclusion of ImageMagick headers (with namespace magic)
0009 
0010 #ifndef Magick_Include_header
0011 #define Magick_Include_header
0012 
0013 #if !defined(_MAGICK_CONFIG_H)
0014 #  define _MAGICK_CONFIG_H
0015 #  if !defined(vms)
0016 #    include "MagickCore/magick-config.h"
0017 #  else
0018 #    include "magick-config.h"
0019 #  endif
0020 #  undef inline // Remove possible definition from config.h
0021 #  undef class
0022 #endif
0023 
0024 // Needed for stdio FILE
0025 #include <stdio.h>
0026 #include <stdarg.h>
0027 #include <stdlib.h>
0028 #include <time.h>
0029 #include <math.h>
0030 #include <sys/types.h>
0031 
0032 #include <errno.h>
0033 #include <stdint.h>
0034 
0035 #if defined(__BORLANDC__)
0036 #  include <vcl.h> /* Borland C++ Builder 4.0 requirement */
0037 #endif // defined(__BORLANDC__)
0038 
0039 //
0040 // Include ImageMagick headers into namespace "MagickCore". If
0041 // MAGICKCORE_IMPLEMENTATION is defined, include ImageMagick development
0042 // headers.  This scheme minimizes the possibility of conflict with
0043 // user code.
0044 //
0045 namespace MagickCore
0046 {
0047 #include <MagickCore/MagickCore.h>
0048 #include <MagickWand/MagickWand.h>
0049 #undef inline // Remove possible definition from config.h
0050 
0051 #undef class
0052 }
0053 
0054 //
0055 // Provide appropriate DLL imports/exports for Visual C++,
0056 // Borland C++Builder and MinGW builds.
0057 //
0058 #if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
0059 #  define MagickCplusPlusDLLSupported
0060 #endif
0061 #if defined(MagickCplusPlusDLLSupported)
0062 #  if defined(_MT) && defined(_DLL) && !defined(_LIB) && !defined(STATIC_MAGICK)
0063 //
0064 // In a native Windows build, the following defines are used:
0065 //
0066 //   _MT         = Multithreaded
0067 //   _DLL        = Using code is part of a DLL
0068 //   _LIB        = Using code is being built as a library.
0069 //   _MAGICKMOD_ = Build uses loadable modules (Magick++ does not care about this)
0070 //
0071 // In the case where ImageMagick is built as a static library but the
0072 // using code is dynamic, STATIC_MAGICK may be defined in the project to
0073 // override triggering dynamic library behavior.
0074 //
0075 #    if defined(_VISUALC_)
0076 #      define MagickDLLExplicitTemplate
0077 #      pragma warning( disable: 4275 )
0078 #      pragma warning( disable: 4273 )  /* Disable the stupid dll linkage warnings */
0079 #      pragma warning( disable: 4251 )
0080 #    endif
0081 #    if !defined(MAGICKCORE_IMPLEMENTATION)
0082 #      if defined(__GNUC__)
0083 #        define MagickPPExport __attribute__ ((dllimport))
0084 #      else
0085 #        define MagickPPExport __declspec(dllimport)
0086 #      endif
0087 #      define MagickPPPrivate extern __declspec(dllimport)
0088 #    else
0089 #      if defined(__BORLANDC__) || defined(__MINGW32__)
0090 #        define MagickPPExport __declspec(dllexport)
0091 #        define MagickPPPrivate __declspec(dllexport)
0092 #      else
0093 #        if defined(__GNUC__)
0094 #          define MagickPPExport __attribute__ ((dllexport))
0095 #        else
0096 #          define MagickPPExport __declspec(dllexport)
0097 #        endif
0098 #        define MagickPPPrivate extern __declspec(dllexport)
0099 #      endif
0100 #    endif
0101 #  else
0102 #    define MagickPPExport
0103 #    define MagickPPPrivate
0104 #    if defined(_MSC_VER) && defined(STATIC_MAGICK) && !defined(NOAUTOLINK_MAGICK)
0105 #      if defined(_DEBUG)
0106 #        if defined(MAGICKCORE_BZLIB_DELEGATE)
0107 #          pragma comment(lib, "CORE_DB_bzlib_.lib")
0108 #        endif
0109 #        if defined(MAGICKCORE_CAIRO_DELEGATE)
0110 #          pragma comment(lib, "CORE_DB_cairo_.lib")
0111 #        endif
0112 #        if defined(MAGICKCORE_OPENEXR_DELEGATE)
0113 #          pragma comment(lib, "CORE_DB_exr_.lib")
0114 #        endif
0115 #        if defined(MAGICKCORE_FLIF_DELEGATE)
0116 #          pragma comment(lib, "CORE_DB_flif_.lib")
0117 #        endif
0118 #        if defined(MAGICKCORE_FREETYPE_DELEGATE)
0119 #          pragma comment(lib, "CORE_DB_freetype_.lib")
0120 #        endif
0121 #        if defined(MAGICKCORE_JBIG_DELEGATE)
0122 #          pragma comment(lib, "CORE_DB_jbig_.lib")
0123 #        endif
0124 #        if defined(MAGICKCORE_JP2_DELEGATE)
0125 #          pragma comment(lib, "CORE_DB_jp2_.lib")
0126 #        endif
0127 #        if defined(MAGICKCORE_JPEG_DELEGATE)
0128 #          pragma comment(lib, "CORE_DB_jpeg-turbo_.lib")
0129 #        endif
0130 #        if defined(MAGICKCORE_JXL_DELEGATE)
0131 #          pragma comment(lib, "CORE_DB_highway_.lib")
0132 #          pragma comment(lib, "CORE_DB_brotli_.lib")
0133 #          pragma comment(lib, "CORE_DB_jpeg-xl_.lib")
0134 #        endif
0135 #        if defined(MAGICKCORE_LCMS_DELEGATE)
0136 #          pragma comment(lib, "CORE_DB_lcms_.lib")
0137 #        endif
0138 #        if defined(MAGICKCORE_HEIC_DELEGATE)
0139 #          pragma comment(lib, "CORE_DB_aom_.lib")
0140 #          pragma comment(lib, "CORE_DB_de265_.lib")
0141 #          pragma comment(lib, "CORE_DB_heif_.lib")
0142 #        endif
0143 #        if defined(MAGICKCORE_LZMA_DELEGATE)
0144 #          pragma comment(lib, "CORE_DB_lzma_.lib")
0145 #        endif
0146 #        if defined(MAGICKCORE_RAW_R_DELEGATE)
0147 #          pragma comment(lib, "CORE_DB_raw_.lib")
0148 #        endif
0149 #        if defined(MAGICKCORE_RSVG_DELEGATE)
0150 #          pragma comment(lib, "CORE_DB_croco_.lib")
0151 #          pragma comment(lib, "CORE_DB_rsvg_.lib")
0152 #        endif
0153 #        if defined(MAGICKCORE_XML_DELEGATE)
0154 #          pragma comment(lib, "CORE_DB_xml_.lib")
0155 #        endif
0156 #        if defined(MAGICKCORE_ZIP_DELEGATE)
0157 #          pragma comment(lib, "CORE_DB_zip_.lib")
0158 #        endif
0159 #        if defined(MAGICKCORE_LQR_DELEGATE)
0160 #          pragma comment(lib, "CORE_DB_ffi_.lib")
0161 #          pragma comment(lib, "CORE_DB_glib_.lib")
0162 #          pragma comment(lib, "CORE_DB_lqr_.lib")
0163 #          pragma comment(lib, "winmm.lib")
0164 #        endif
0165 #        if defined(MAGICKCORE_LIBOPENJP2_DELEGATE)
0166 #          pragma comment(lib, "CORE_DB_openjpeg_.lib")
0167 #        endif
0168 #        if defined(MAGICKCORE_PANGOCAIRO_DELEGATE)
0169 #          pragma comment(lib, "CORE_DB_fribidi_.lib")
0170 #          pragma comment(lib, "CORE_DB_harfbuzz_.lib")
0171 #          pragma comment(lib, "CORE_DB_pango_.lib")
0172 #          pragma comment(lib, "CORE_DB_pixman_.lib")
0173 #        endif
0174 #        if defined(MAGICKCORE_PNG_DELEGATE)
0175 #          pragma comment(lib, "CORE_DB_png_.lib")
0176 #        endif
0177 #        if defined(MAGICKCORE_RAQM_DELEGATE)
0178 #          pragma comment(lib, "CORE_DB_raqm_.lib")
0179 #        endif
0180 #        if defined(MAGICKCORE_TIFF_DELEGATE)
0181 #          pragma comment(lib, "CORE_DB_tiff_.lib")
0182 #        endif
0183 #        if defined(MAGICKCORE_WEBP_DELEGATE)
0184 #          pragma comment(lib, "CORE_DB_webp_.lib")
0185 #        endif
0186 #        if defined(MAGICKCORE_ZLIB_DELEGATE)
0187 #          pragma comment(lib, "CORE_DB_zlib_.lib")
0188 #        endif
0189 #        pragma comment(lib, "CORE_DB_coders_.lib")
0190 #        pragma comment(lib, "CORE_DB_filters_.lib")
0191 #        pragma comment(lib, "CORE_DB_Magick++_.lib")
0192 #        pragma comment(lib, "CORE_DB_MagickCore_.lib")
0193 #        pragma comment(lib, "CORE_DB_MagickWand_.lib")
0194 #      else
0195 #        if defined(MAGICKCORE_BZLIB_DELEGATE)
0196 #          pragma comment(lib, "CORE_RL_bzlib_.lib")
0197 #        endif
0198 #        if defined(MAGICKCORE_CAIRO_DELEGATE)
0199 #          pragma comment(lib, "CORE_RL_cairo_.lib")
0200 #        endif
0201 #        if defined(MAGICKCORE_OPENEXR_DELEGATE)
0202 #          pragma comment(lib, "CORE_RL_exr_.lib")
0203 #        endif
0204 #        if defined(MAGICKCORE_FLIF_DELEGATE)
0205 #          pragma comment(lib, "CORE_RL_flif_.lib")
0206 #        endif
0207 #        if defined(MAGICKCORE_FREETYPE_DELEGATE)
0208 #          pragma comment(lib, "CORE_RL_freetype_.lib")
0209 #        endif
0210 #        if defined(MAGICKCORE_JBIG_DELEGATE)
0211 #          pragma comment(lib, "CORE_RL_jbig_.lib")
0212 #        endif
0213 #        if defined(MAGICKCORE_JP2_DELEGATE)
0214 #          pragma comment(lib, "CORE_RL_jp2_.lib")
0215 #        endif
0216 #        if defined(MAGICKCORE_JPEG_DELEGATE)
0217 #          pragma comment(lib, "CORE_RL_jpeg-turbo_.lib")
0218 #        endif
0219 #        if defined(MAGICKCORE_JXL_DELEGATE)
0220 #          pragma comment(lib, "CORE_RL_highway_.lib")
0221 #          pragma comment(lib, "CORE_RL_brotli_.lib")
0222 #          pragma comment(lib, "CORE_RL_jpeg-xl_.lib")
0223 #        endif
0224 #        if defined(MAGICKCORE_LCMS_DELEGATE)
0225 #          pragma comment(lib, "CORE_RL_lcms_.lib")
0226 #        endif
0227 #        if defined(MAGICKCORE_HEIC_DELEGATE)
0228 #          pragma comment(lib, "CORE_RL_aom_.lib")
0229 #          pragma comment(lib, "CORE_RL_de265_.lib")
0230 #          pragma comment(lib, "CORE_RL_heif_.lib")
0231 #        endif
0232 #        if defined(MAGICKCORE_LZMA_DELEGATE)
0233 #          pragma comment(lib, "CORE_RL_lzma_.lib")
0234 #        endif
0235 #        if defined(MAGICKCORE_RAW_R_DELEGATE)
0236 #          pragma comment(lib, "CORE_RL_raw_.lib")
0237 #        endif
0238 #        if defined(MAGICKCORE_RSVG_DELEGATE)
0239 #          pragma comment(lib, "CORE_RL_croco_.lib")
0240 #          pragma comment(lib, "CORE_RL_rsvg_.lib")
0241 #        endif
0242 #        if defined(MAGICKCORE_XML_DELEGATE)
0243 #          pragma comment(lib, "CORE_RL_xml_.lib")
0244 #        endif
0245 #        if defined(MAGICKCORE_ZIP_DELEGATE)
0246 #          pragma comment(lib, "CORE_RL_zip_.lib")
0247 #        endif
0248 #        if defined(MAGICKCORE_LQR_DELEGATE)
0249 #          pragma comment(lib, "CORE_RL_ffi_.lib")
0250 #          pragma comment(lib, "CORE_RL_glib_.lib")
0251 #          pragma comment(lib, "CORE_RL_lqr_.lib")
0252 #          pragma comment(lib, "winmm.lib")
0253 #        endif
0254 #        if defined(MAGICKCORE_LIBOPENJP2_DELEGATE)
0255 #          pragma comment(lib, "CORE_RL_openjpeg_.lib")
0256 #        endif
0257 #        if defined(MAGICKCORE_PANGOCAIRO_DELEGATE)
0258 #          pragma comment(lib, "CORE_RL_fribidi_.lib")
0259 #          pragma comment(lib, "CORE_RL_harfbuzz_.lib")
0260 #          pragma comment(lib, "CORE_RL_pango_.lib")
0261 #          pragma comment(lib, "CORE_RL_pixman_.lib")
0262 #        endif
0263 #        if defined(MAGICKCORE_PNG_DELEGATE)
0264 #          pragma comment(lib, "CORE_RL_png_.lib")
0265 #        endif
0266 #        if defined(MAGICKCORE_RAQM_DELEGATE)
0267 #          pragma comment(lib, "CORE_RL_raqm_.lib")
0268 #        endif
0269 #        if defined(MAGICKCORE_TIFF_DELEGATE)
0270 #          pragma comment(lib, "CORE_RL_tiff_.lib")
0271 #        endif
0272 #        if defined(MAGICKCORE_WEBP_DELEGATE)
0273 #          pragma comment(lib, "CORE_RL_webp_.lib")
0274 #        endif
0275 #        if defined(MAGICKCORE_ZLIB_DELEGATE)
0276 #          pragma comment(lib, "CORE_RL_zlib_.lib")
0277 #        endif
0278 #        pragma comment(lib, "CORE_RL_coders_.lib")
0279 #        pragma comment(lib, "CORE_RL_filters_.lib")
0280 #        pragma comment(lib, "CORE_RL_Magick++_.lib")
0281 #        pragma comment(lib, "CORE_RL_MagickCore_.lib")
0282 #        pragma comment(lib, "CORE_RL_MagickWand_.lib")
0283 #      endif
0284 #      if defined(_WIN32_WCE)
0285 #        pragma comment(lib, "wsock32.lib")
0286 #      else
0287 #        pragma comment(lib, "ws2_32.lib")
0288 #      endif
0289 #      pragma comment(lib, "urlmon.lib")
0290 #    endif
0291 #  endif
0292 #else
0293 #  if __GNUC__ >= 4
0294 #    define MagickPPExport __attribute__ ((visibility ("default")))
0295 #    define MagickPPPrivate  __attribute__ ((visibility ("hidden")))
0296 #  else
0297 #    define MagickPPExport
0298 #    define MagickPPPrivate
0299 #  endif
0300 #endif
0301 
0302 #if (defined(WIN32) || defined(WIN64)) && defined(_VISUALC_)
0303 #  pragma warning(disable : 4996) /* function deprecation warnings */
0304 #endif
0305 
0306 //
0307 // Import ImageMagick symbols and types which are used as part of the
0308 // Magick++ API definition into namespace "Magick".
0309 //
0310 namespace Magick
0311 {
0312   // The datatype for an RGB component
0313   using MagickCore::Quantum;
0314   using MagickCore::MagickRealType;
0315   using MagickCore::MagickSizeType;
0316   using MagickCore::MagickStatusType;
0317 
0318   // Structures
0319   using MagickCore::AffineMatrix;
0320   using MagickCore::CacheView;
0321   using MagickCore::CCObjectInfo;
0322   using MagickCore::DrawInfo;
0323   using MagickCore::DrawingWand;
0324   using MagickCore::ExceptionInfo;
0325   using MagickCore::FrameInfo;
0326   using MagickCore::ImageInfo;
0327   using MagickCore::KernelInfo;
0328   using MagickCore::LinkedListInfo;
0329   using MagickCore::MagickInfo;
0330   using MagickCore::MagickWand;
0331   using MagickCore::MontageInfo;
0332   using MagickCore::OffsetInfo;
0333   using MagickCore::PixelInfo;
0334   using MagickCore::PixelWand;
0335   using MagickCore::PointInfo;
0336   using MagickCore::ProfileInfo;
0337   using MagickCore::QuantizeInfo;
0338   using MagickCore::QuantumInfo;
0339   using MagickCore::RectangleInfo;
0340   using MagickCore::StringInfo;
0341 
0342   // Alignment types.
0343   using MagickCore::AlignType;
0344   using MagickCore::UndefinedAlign;
0345   using MagickCore::LeftAlign;
0346   using MagickCore::CenterAlign;
0347   using MagickCore::RightAlign;
0348 
0349   // Alpha channel options
0350   using MagickCore::AlphaChannelOption;
0351   using MagickCore::UndefinedAlphaChannel;
0352   using MagickCore::ActivateAlphaChannel;
0353   using MagickCore::AssociateAlphaChannel;
0354   using MagickCore::BackgroundAlphaChannel;
0355   using MagickCore::CopyAlphaChannel;
0356   using MagickCore::DeactivateAlphaChannel;
0357   using MagickCore::DiscreteAlphaChannel;
0358   using MagickCore::DisassociateAlphaChannel;
0359   using MagickCore::ExtractAlphaChannel;
0360   using MagickCore::OffAlphaChannel;
0361   using MagickCore::OnAlphaChannel;
0362   using MagickCore::OpaqueAlphaChannel;
0363   using MagickCore::RemoveAlphaChannel;
0364   using MagickCore::SetAlphaChannel;
0365   using MagickCore::ShapeAlphaChannel;
0366   using MagickCore::TransparentAlphaChannel;
0367 
0368   // Auto threshold methods
0369   using MagickCore::AutoThresholdMethod;
0370   using MagickCore::UndefinedThresholdMethod;
0371   using MagickCore::KapurThresholdMethod;
0372   using MagickCore::OTSUThresholdMethod;
0373   using MagickCore::TriangleThresholdMethod;
0374 
0375   // Channel types
0376   using MagickCore::ChannelType;
0377   using MagickCore::UndefinedChannel;
0378   using MagickCore::RedChannel;
0379   using MagickCore::GrayChannel;
0380   using MagickCore::CyanChannel;
0381   using MagickCore::GreenChannel;
0382   using MagickCore::MagentaChannel;
0383   using MagickCore::BlueChannel;
0384   using MagickCore::YellowChannel;
0385   using MagickCore::BlackChannel;
0386   using MagickCore::AlphaChannel;
0387   using MagickCore::OpacityChannel;
0388   using MagickCore::IndexChannel;
0389   using MagickCore::ReadMaskChannel;
0390   using MagickCore::WriteMaskChannel;
0391   using MagickCore::MetaChannel;
0392   using MagickCore::CompositeChannels;
0393   using MagickCore::AllChannels;
0394   using MagickCore::TrueAlphaChannel;
0395   using MagickCore::RGBChannels;
0396   using MagickCore::GrayChannels;
0397   using MagickCore::SyncChannels;
0398   using MagickCore::DefaultChannels;
0399 
0400   // Image class types
0401   using MagickCore::ClassType;
0402   using MagickCore::UndefinedClass;
0403   using MagickCore::DirectClass;
0404   using MagickCore::PseudoClass;
0405 
0406   // Clip path units
0407   using MagickCore::ClipPathUnits;
0408   using MagickCore::UndefinedPathUnits;
0409   using MagickCore::UserSpace;
0410   using MagickCore::UserSpaceOnUse;
0411   using MagickCore::ObjectBoundingBox;
0412 
0413   // Color-space types
0414   using MagickCore::ColorspaceType;
0415   using MagickCore::UndefinedColorspace;
0416   using MagickCore::CMYColorspace;
0417   using MagickCore::CMYKColorspace;
0418   using MagickCore::GRAYColorspace;
0419   using MagickCore::HCLColorspace;
0420   using MagickCore::HCLpColorspace;
0421   using MagickCore::HSBColorspace;
0422   using MagickCore::HSIColorspace;
0423   using MagickCore::HSLColorspace;
0424   using MagickCore::HSVColorspace;
0425   using MagickCore::HWBColorspace;
0426   using MagickCore::LabColorspace;
0427   using MagickCore::LCHColorspace;
0428   using MagickCore::LCHabColorspace;
0429   using MagickCore::LCHuvColorspace;
0430   using MagickCore::LogColorspace;
0431   using MagickCore::LMSColorspace;
0432   using MagickCore::LuvColorspace;
0433   using MagickCore::OHTAColorspace;
0434   using MagickCore::Rec601YCbCrColorspace;
0435   using MagickCore::Rec709YCbCrColorspace;
0436   using MagickCore::RGBColorspace;
0437   using MagickCore::scRGBColorspace;
0438   using MagickCore::sRGBColorspace;
0439   using MagickCore::TransparentColorspace;
0440   using MagickCore::xyYColorspace;
0441   using MagickCore::XYZColorspace;
0442   using MagickCore::YCbCrColorspace;
0443   using MagickCore::YCCColorspace;
0444   using MagickCore::YDbDrColorspace;
0445   using MagickCore::YIQColorspace;
0446   using MagickCore::YPbPrColorspace;
0447   using MagickCore::YUVColorspace;
0448   using MagickCore::LinearGRAYColorspace;
0449 
0450   // Command options
0451   using MagickCore::CommandOption;
0452   using MagickCore::MagickDirectionOptions;
0453   using MagickCore::MagickGravityOptions;
0454   using MagickCore::MagickKernelOptions;
0455   using MagickCore::MagickStyleOptions;
0456 
0457   // Compliance types
0458   using MagickCore::ComplianceType;
0459   using MagickCore::AllCompliance;
0460 
0461   // Composition operations
0462   using MagickCore::CompositeOperator;
0463   using MagickCore::AlphaCompositeOp;
0464   using MagickCore::AtopCompositeOp;
0465   using MagickCore::BlendCompositeOp;
0466   using MagickCore::BlurCompositeOp;
0467   using MagickCore::BumpmapCompositeOp;
0468   using MagickCore::ChangeMaskCompositeOp;
0469   using MagickCore::ClearCompositeOp;
0470   using MagickCore::ColorBurnCompositeOp;
0471   using MagickCore::ColorDodgeCompositeOp;
0472   using MagickCore::ColorizeCompositeOp;
0473   using MagickCore::CopyBlackCompositeOp;
0474   using MagickCore::CopyBlueCompositeOp;
0475   using MagickCore::CopyCompositeOp;
0476   using MagickCore::CopyCyanCompositeOp;
0477   using MagickCore::CopyGreenCompositeOp;
0478   using MagickCore::CopyMagentaCompositeOp;
0479   using MagickCore::CopyAlphaCompositeOp;
0480   using MagickCore::CopyRedCompositeOp;
0481   using MagickCore::CopyYellowCompositeOp;
0482   using MagickCore::DarkenCompositeOp;
0483   using MagickCore::DarkenIntensityCompositeOp;
0484   using MagickCore::DifferenceCompositeOp;
0485   using MagickCore::DisplaceCompositeOp;
0486   using MagickCore::DissolveCompositeOp;
0487   using MagickCore::DistortCompositeOp;
0488   using MagickCore::DivideDstCompositeOp;
0489   using MagickCore::DivideSrcCompositeOp;
0490   using MagickCore::DstAtopCompositeOp;
0491   using MagickCore::DstCompositeOp;
0492   using MagickCore::DstInCompositeOp;
0493   using MagickCore::DstOutCompositeOp;
0494   using MagickCore::DstOverCompositeOp;
0495   using MagickCore::ExclusionCompositeOp;
0496   using MagickCore::HardLightCompositeOp;
0497   using MagickCore::HardMixCompositeOp;
0498   using MagickCore::HueCompositeOp;
0499   using MagickCore::InCompositeOp;
0500   using MagickCore::IntensityCompositeOp;
0501   using MagickCore::LightenCompositeOp;
0502   using MagickCore::LightenIntensityCompositeOp;
0503   using MagickCore::LinearBurnCompositeOp;
0504   using MagickCore::LinearDodgeCompositeOp;
0505   using MagickCore::LinearLightCompositeOp;
0506   using MagickCore::LuminizeCompositeOp;
0507   using MagickCore::MathematicsCompositeOp;
0508   using MagickCore::MinusDstCompositeOp;
0509   using MagickCore::MinusSrcCompositeOp;
0510   using MagickCore::ModulateCompositeOp;
0511   using MagickCore::ModulusAddCompositeOp;
0512   using MagickCore::ModulusSubtractCompositeOp;
0513   using MagickCore::MultiplyCompositeOp;
0514   using MagickCore::NoCompositeOp;
0515   using MagickCore::OutCompositeOp;
0516   using MagickCore::OverCompositeOp;
0517   using MagickCore::OverlayCompositeOp;
0518   using MagickCore::PegtopLightCompositeOp;
0519   using MagickCore::PinLightCompositeOp;
0520   using MagickCore::PlusCompositeOp;
0521   using MagickCore::ReplaceCompositeOp;
0522   using MagickCore::SaturateCompositeOp;
0523   using MagickCore::ScreenCompositeOp;
0524   using MagickCore::SoftLightCompositeOp;
0525   using MagickCore::SrcAtopCompositeOp;
0526   using MagickCore::SrcCompositeOp;
0527   using MagickCore::SrcInCompositeOp;
0528   using MagickCore::SrcOutCompositeOp;
0529   using MagickCore::SrcOverCompositeOp;
0530   using MagickCore::ThresholdCompositeOp;
0531   using MagickCore::UndefinedCompositeOp;
0532   using MagickCore::VividLightCompositeOp;
0533   using MagickCore::XorCompositeOp;
0534 
0535   // Compression algorithms
0536   using MagickCore::CompressionType;
0537   using MagickCore::UndefinedCompression;
0538   using MagickCore::NoCompression;
0539   using MagickCore::B44ACompression;
0540   using MagickCore::B44Compression;
0541   using MagickCore::BZipCompression;
0542   using MagickCore::DWAACompression;
0543   using MagickCore::DWABCompression;
0544   using MagickCore::DXT1Compression;
0545   using MagickCore::DXT3Compression;
0546   using MagickCore::DXT5Compression;
0547   using MagickCore::BC7Compression;
0548   using MagickCore::FaxCompression;
0549   using MagickCore::Group4Compression;
0550   using MagickCore::JBIG1Compression;
0551   using MagickCore::JBIG2Compression;
0552   using MagickCore::JPEG2000Compression;
0553   using MagickCore::JPEGCompression;
0554   using MagickCore::LosslessJPEGCompression;
0555   using MagickCore::LZMACompression;
0556   using MagickCore::LZWCompression;
0557   using MagickCore::PizCompression;
0558   using MagickCore::Pxr24Compression;
0559   using MagickCore::RLECompression;
0560   using MagickCore::WebPCompression;
0561   using MagickCore::ZipCompression;
0562   using MagickCore::ZipSCompression;
0563   using MagickCore::ZstdCompression;
0564 
0565   // Decoration types
0566   using MagickCore::DecorationType;
0567   using MagickCore::UndefinedDecoration;
0568   using MagickCore::NoDecoration;
0569   using MagickCore::UnderlineDecoration;
0570   using MagickCore::OverlineDecoration;
0571   using MagickCore::LineThroughDecoration;
0572 
0573   // Direction types
0574   using MagickCore::DirectionType;
0575   using MagickCore::UndefinedDirection;
0576   using MagickCore::RightToLeftDirection;
0577   using MagickCore::LeftToRightDirection;
0578 
0579   // Dispose methods
0580   using MagickCore::DisposeType;
0581   using MagickCore::UndefinedDispose;
0582   using MagickCore::NoneDispose;
0583   using MagickCore::BackgroundDispose;
0584   using MagickCore::PreviousDispose;
0585 
0586   // Distort methods
0587   using MagickCore::DistortMethod;
0588   using MagickCore::UndefinedDistortion;
0589   using MagickCore::AffineDistortion;
0590   using MagickCore::AffineProjectionDistortion;
0591   using MagickCore::ScaleRotateTranslateDistortion;
0592   using MagickCore::PerspectiveDistortion;
0593   using MagickCore::PerspectiveProjectionDistortion;
0594   using MagickCore::BilinearForwardDistortion;
0595   using MagickCore::BilinearDistortion;
0596   using MagickCore::BilinearReverseDistortion;
0597   using MagickCore::PolynomialDistortion;
0598   using MagickCore::ArcDistortion;
0599   using MagickCore::PolarDistortion;
0600   using MagickCore::DePolarDistortion;
0601   using MagickCore::Cylinder2PlaneDistortion;
0602   using MagickCore::Plane2CylinderDistortion;
0603   using MagickCore::BarrelDistortion;
0604   using MagickCore::BarrelInverseDistortion;
0605   using MagickCore::ShepardsDistortion;
0606   using MagickCore::ResizeDistortion;
0607   using MagickCore::SentinelDistortion;
0608 
0609   // Dither methods
0610   using MagickCore::DitherMethod;
0611   using MagickCore::UndefinedDitherMethod;
0612   using MagickCore::NoDitherMethod;
0613   using MagickCore::RiemersmaDitherMethod;
0614   using MagickCore::FloydSteinbergDitherMethod;
0615 
0616   // Endian options
0617   using MagickCore::EndianType;
0618   using MagickCore::UndefinedEndian;
0619   using MagickCore::LSBEndian;
0620   using MagickCore::MSBEndian;
0621 
0622   // Boolean types
0623   using MagickCore::MagickBooleanType;
0624   using MagickCore::MagickFalse;
0625   using MagickCore::MagickTrue;
0626 
0627   // Evaluate options
0628   using MagickCore::MagickEvaluateOperator;
0629   using MagickCore::UndefinedEvaluateOperator;
0630   using MagickCore::AbsEvaluateOperator;
0631   using MagickCore::AddEvaluateOperator;
0632   using MagickCore::AddModulusEvaluateOperator;
0633   using MagickCore::AndEvaluateOperator;
0634   using MagickCore::CosineEvaluateOperator;
0635   using MagickCore::DivideEvaluateOperator;
0636   using MagickCore::ExponentialEvaluateOperator;
0637   using MagickCore::GaussianNoiseEvaluateOperator;
0638   using MagickCore::ImpulseNoiseEvaluateOperator;
0639   using MagickCore::LaplacianNoiseEvaluateOperator;
0640   using MagickCore::LeftShiftEvaluateOperator;
0641   using MagickCore::LogEvaluateOperator;
0642   using MagickCore::MaxEvaluateOperator;
0643   using MagickCore::MeanEvaluateOperator;
0644   using MagickCore::MedianEvaluateOperator;
0645   using MagickCore::MinEvaluateOperator;
0646   using MagickCore::MultiplicativeNoiseEvaluateOperator;
0647   using MagickCore::MultiplyEvaluateOperator;
0648   using MagickCore::OrEvaluateOperator;
0649   using MagickCore::PoissonNoiseEvaluateOperator;
0650   using MagickCore::PowEvaluateOperator;
0651   using MagickCore::RootMeanSquareEvaluateOperator;
0652   using MagickCore::RightShiftEvaluateOperator;
0653   using MagickCore::SetEvaluateOperator;
0654   using MagickCore::SineEvaluateOperator;
0655   using MagickCore::SubtractEvaluateOperator;
0656   using MagickCore::SumEvaluateOperator;
0657   using MagickCore::ThresholdBlackEvaluateOperator;
0658   using MagickCore::ThresholdEvaluateOperator;
0659   using MagickCore::ThresholdWhiteEvaluateOperator;
0660   using MagickCore::UniformNoiseEvaluateOperator;
0661   using MagickCore::XorEvaluateOperator;
0662 
0663   // Fill rules
0664   using MagickCore::FillRule;
0665   using MagickCore::UndefinedRule;
0666   using MagickCore::EvenOddRule;
0667   using MagickCore::NonZeroRule;
0668 
0669   // Filter types
0670   using MagickCore::FilterType;
0671   using MagickCore::UndefinedFilter;
0672   using MagickCore::PointFilter;
0673   using MagickCore::BoxFilter;
0674   using MagickCore::TriangleFilter;
0675   using MagickCore::HermiteFilter;
0676   using MagickCore::HannFilter;
0677   using MagickCore::HammingFilter;
0678   using MagickCore::BlackmanFilter;
0679   using MagickCore::GaussianFilter;
0680   using MagickCore::QuadraticFilter;
0681   using MagickCore::CubicFilter;
0682   using MagickCore::CatromFilter;
0683   using MagickCore::MitchellFilter;
0684   using MagickCore::JincFilter;
0685   using MagickCore::SincFilter;
0686   using MagickCore::SincFastFilter;
0687   using MagickCore::KaiserFilter;
0688   using MagickCore::WelchFilter;
0689   using MagickCore::ParzenFilter;
0690   using MagickCore::BohmanFilter;
0691   using MagickCore::BartlettFilter;
0692   using MagickCore::LagrangeFilter;
0693   using MagickCore::LanczosFilter;
0694   using MagickCore::LanczosSharpFilter;
0695   using MagickCore::Lanczos2Filter;
0696   using MagickCore::Lanczos2SharpFilter;
0697   using MagickCore::RobidouxFilter;
0698   using MagickCore::RobidouxSharpFilter;
0699   using MagickCore::CosineFilter;
0700   using MagickCore::SplineFilter;
0701   using MagickCore::LanczosRadiusFilter;
0702   using MagickCore::SentinelFilter;
0703 
0704   // Geometry flags;
0705   using MagickCore::GeometryFlags;
0706   using MagickCore::AreaValue;
0707   using MagickCore::AspectValue;
0708   using MagickCore::GreaterValue;
0709   using MagickCore::HeightValue;
0710   using MagickCore::LessValue;
0711   using MagickCore::MinimumValue;
0712   using MagickCore::NoValue;
0713   using MagickCore::PercentValue;
0714   using MagickCore::WidthValue;
0715   using MagickCore::XNegative;
0716   using MagickCore::XValue;
0717   using MagickCore::YNegative;
0718   using MagickCore::YValue;
0719 
0720   // Bit gravity
0721   using MagickCore::GravityType;
0722   using MagickCore::UndefinedGravity;
0723   using MagickCore::ForgetGravity;
0724   using MagickCore::NorthWestGravity;
0725   using MagickCore::NorthGravity;
0726   using MagickCore::NorthEastGravity;
0727   using MagickCore::WestGravity;
0728   using MagickCore::CenterGravity;
0729   using MagickCore::EastGravity;
0730   using MagickCore::SouthWestGravity;
0731   using MagickCore::SouthGravity;
0732   using MagickCore::SouthEastGravity;
0733 
0734   // Image types
0735   using MagickCore::ImageType;
0736   using MagickCore::UndefinedType;
0737   using MagickCore::BilevelType;
0738   using MagickCore::GrayscaleType;
0739   using MagickCore::GrayscaleAlphaType;
0740   using MagickCore::PaletteType;
0741   using MagickCore::PaletteAlphaType;
0742   using MagickCore::TrueColorType;
0743   using MagickCore::TrueColorAlphaType;
0744   using MagickCore::ColorSeparationType;
0745   using MagickCore::ColorSeparationAlphaType;
0746   using MagickCore::OptimizeType;
0747   using MagickCore::PaletteBilevelAlphaType;
0748 
0749   // Interlace types
0750   using MagickCore::InterlaceType;
0751   using MagickCore::UndefinedInterlace;
0752   using MagickCore::NoInterlace;
0753   using MagickCore::LineInterlace;
0754   using MagickCore::PlaneInterlace;
0755   using MagickCore::PartitionInterlace;
0756   using MagickCore::GIFInterlace;
0757   using MagickCore::JPEGInterlace;
0758   using MagickCore::PNGInterlace;
0759 
0760   // Built-in kernels
0761   using MagickCore::KernelInfoType;
0762   using MagickCore::UndefinedKernel;
0763   using MagickCore::UnityKernel;
0764   using MagickCore::GaussianKernel;
0765   using MagickCore::DoGKernel;
0766   using MagickCore::LoGKernel;
0767   using MagickCore::BlurKernel;
0768   using MagickCore::CometKernel;
0769   using MagickCore::BinomialKernel;
0770   using MagickCore::LaplacianKernel;
0771   using MagickCore::SobelKernel;
0772   using MagickCore::FreiChenKernel;
0773   using MagickCore::RobertsKernel;
0774   using MagickCore::PrewittKernel;
0775   using MagickCore::CompassKernel;
0776   using MagickCore::KirschKernel;
0777   using MagickCore::DiamondKernel;
0778   using MagickCore::SquareKernel;
0779   using MagickCore::RectangleKernel;
0780   using MagickCore::OctagonKernel;
0781   using MagickCore::DiskKernel;
0782   using MagickCore::PlusKernel;
0783   using MagickCore::CrossKernel;
0784   using MagickCore::RingKernel;
0785   using MagickCore::PeaksKernel;
0786   using MagickCore::EdgesKernel;
0787   using MagickCore::CornersKernel;
0788   using MagickCore::DiagonalsKernel;
0789   using MagickCore::LineEndsKernel;
0790   using MagickCore::LineJunctionsKernel;
0791   using MagickCore::RidgesKernel;
0792   using MagickCore::ConvexHullKernel;
0793   using MagickCore::ThinSEKernel;
0794   using MagickCore::SkeletonKernel;
0795   using MagickCore::ChebyshevKernel;
0796   using MagickCore::ManhattanKernel;
0797   using MagickCore::OctagonalKernel;
0798   using MagickCore::EuclideanKernel;
0799   using MagickCore::UserDefinedKernel;
0800 
0801   // Layer method
0802   using MagickCore::LayerMethod;
0803   using MagickCore::UndefinedLayer;
0804   using MagickCore::CoalesceLayer;
0805   using MagickCore::CompareAnyLayer;
0806   using MagickCore::CompareClearLayer;
0807   using MagickCore::CompareOverlayLayer;
0808   using MagickCore::DisposeLayer;
0809   using MagickCore::OptimizeLayer;
0810   using MagickCore::OptimizeImageLayer;
0811   using MagickCore::OptimizePlusLayer;
0812   using MagickCore::OptimizeTransLayer;
0813   using MagickCore::RemoveDupsLayer;
0814   using MagickCore::RemoveZeroLayer;
0815   using MagickCore::CompositeLayer;
0816   using MagickCore::MergeLayer;
0817   using MagickCore::FlattenLayer;
0818   using MagickCore::MosaicLayer;
0819   using MagickCore::TrimBoundsLayer;
0820 
0821   // Line cap types
0822   using MagickCore::LineCap;
0823   using MagickCore::UndefinedCap;
0824   using MagickCore::ButtCap;
0825   using MagickCore::RoundCap;
0826   using MagickCore::SquareCap;
0827 
0828   // Line join types
0829   using MagickCore::LineJoin;
0830   using MagickCore::UndefinedJoin;
0831   using MagickCore::MiterJoin;
0832   using MagickCore::RoundJoin;
0833   using MagickCore::BevelJoin;
0834 
0835   // Log event types
0836   using MagickCore::LogEventType;
0837   using MagickCore::UndefinedEvents;
0838   using MagickCore::NoEvents;
0839   using MagickCore::AccelerateEvent;
0840   using MagickCore::AnnotateEvent;
0841   using MagickCore::BlobEvent;
0842   using MagickCore::CacheEvent;
0843   using MagickCore::CoderEvent;
0844   using MagickCore::ConfigureEvent;
0845   using MagickCore::DeprecateEvent;
0846   using MagickCore::DrawEvent;
0847   using MagickCore::ExceptionEvent;
0848   using MagickCore::ImageEvent;
0849   using MagickCore::LocaleEvent;
0850   using MagickCore::ModuleEvent;
0851   using MagickCore::PixelEvent;
0852   using MagickCore::PolicyEvent;
0853   using MagickCore::ResourceEvent;
0854   using MagickCore::TraceEvent;
0855   using MagickCore::TransformEvent;
0856   using MagickCore::UserEvent;
0857   using MagickCore::WandEvent;
0858   using MagickCore::X11Event;
0859   using MagickCore::CommandEvent;
0860   using MagickCore::AllEvents;
0861 
0862   // Magick functions
0863   using MagickCore::MagickFunction;
0864   using MagickCore::UndefinedFunction;
0865   using MagickCore::ArcsinFunction;
0866   using MagickCore::ArctanFunction;
0867   using MagickCore::PolynomialFunction;
0868   using MagickCore::SinusoidFunction;
0869 
0870   // Metric types
0871   using MagickCore::MetricType;
0872   using MagickCore::UndefinedErrorMetric;
0873   using MagickCore::AbsoluteErrorMetric;
0874   using MagickCore::FuzzErrorMetric;
0875   using MagickCore::MeanAbsoluteErrorMetric;
0876   using MagickCore::MeanErrorPerPixelErrorMetric;
0877   using MagickCore::MeanSquaredErrorMetric;
0878   using MagickCore::NormalizedCrossCorrelationErrorMetric;
0879   using MagickCore::PeakAbsoluteErrorMetric;
0880   using MagickCore::PeakSignalToNoiseRatioErrorMetric;
0881   using MagickCore::PerceptualHashErrorMetric;
0882   using MagickCore::RootMeanSquaredErrorMetric;
0883 
0884   // Morphology methods
0885   using MagickCore::MorphologyMethod;
0886   using MagickCore::UndefinedMorphology;
0887   using MagickCore::ConvolveMorphology;
0888   using MagickCore::CorrelateMorphology;
0889   using MagickCore::ErodeMorphology;
0890   using MagickCore::DilateMorphology;
0891   using MagickCore::ErodeIntensityMorphology;
0892   using MagickCore::DilateIntensityMorphology;
0893   using MagickCore::IterativeDistanceMorphology;
0894   using MagickCore::OpenMorphology;
0895   using MagickCore::CloseMorphology;
0896   using MagickCore::OpenIntensityMorphology;
0897   using MagickCore::CloseIntensityMorphology;
0898   using MagickCore::SmoothMorphology;
0899   using MagickCore::EdgeInMorphology;
0900   using MagickCore::EdgeOutMorphology;
0901   using MagickCore::EdgeMorphology;
0902   using MagickCore::TopHatMorphology;
0903   using MagickCore::BottomHatMorphology;
0904   using MagickCore::HitAndMissMorphology;
0905   using MagickCore::ThinningMorphology;
0906   using MagickCore::ThickenMorphology;
0907   using MagickCore::DistanceMorphology;
0908   using MagickCore::VoronoiMorphology;
0909 
0910   // Noise types
0911   using MagickCore::NoiseType;
0912   using MagickCore::UndefinedNoise;
0913   using MagickCore::UniformNoise;
0914   using MagickCore::GaussianNoise;
0915   using MagickCore::MultiplicativeGaussianNoise;
0916   using MagickCore::ImpulseNoise;
0917   using MagickCore::LaplacianNoise;
0918   using MagickCore::PoissonNoise;
0919 
0920   // Orientation types
0921   using MagickCore::OrientationType;
0922   using MagickCore::UndefinedOrientation;
0923   using MagickCore::TopLeftOrientation;
0924   using MagickCore::TopRightOrientation;
0925   using MagickCore::BottomRightOrientation;
0926   using MagickCore::BottomLeftOrientation;
0927   using MagickCore::LeftTopOrientation;
0928   using MagickCore::RightTopOrientation;
0929   using MagickCore::RightBottomOrientation;
0930   using MagickCore::LeftBottomOrientation;
0931 
0932   // Paint methods
0933   using MagickCore::PaintMethod;
0934   using MagickCore::UndefinedMethod;
0935   using MagickCore::PointMethod;
0936   using MagickCore::ReplaceMethod;
0937   using MagickCore::FloodfillMethod;
0938   using MagickCore::FillToBorderMethod;
0939   using MagickCore::ResetMethod;
0940 
0941   using MagickCore::PixelChannel;
0942   using MagickCore::UndefinedPixelChannel;
0943   using MagickCore::RedPixelChannel;
0944   using MagickCore::CyanPixelChannel;
0945   using MagickCore::GrayPixelChannel;
0946   using MagickCore::LPixelChannel;
0947   using MagickCore::YPixelChannel;
0948   using MagickCore::aPixelChannel;
0949   using MagickCore::GreenPixelChannel;
0950   using MagickCore::MagentaPixelChannel;
0951   using MagickCore::CbPixelChannel;
0952   using MagickCore::bPixelChannel;
0953   using MagickCore::BluePixelChannel;
0954   using MagickCore::YellowPixelChannel;
0955   using MagickCore::CrPixelChannel;
0956   using MagickCore::BlackPixelChannel;
0957   using MagickCore::AlphaPixelChannel;
0958   using MagickCore::IndexPixelChannel;
0959   using MagickCore::ReadMaskPixelChannel;
0960   using MagickCore::WriteMaskPixelChannel;
0961   using MagickCore::MetaPixelChannel;
0962   using MagickCore::IntensityPixelChannel;
0963   using MagickCore::CompositePixelChannel;
0964   using MagickCore::SyncPixelChannel;
0965 
0966   // Pixel intensity method
0967   using MagickCore::PixelIntensityMethod;
0968   using MagickCore::UndefinedPixelIntensityMethod;
0969   using MagickCore::AveragePixelIntensityMethod;
0970   using MagickCore::BrightnessPixelIntensityMethod;
0971   using MagickCore::LightnessPixelIntensityMethod;
0972   using MagickCore::MSPixelIntensityMethod;
0973   using MagickCore::Rec601LumaPixelIntensityMethod;
0974   using MagickCore::Rec601LuminancePixelIntensityMethod;
0975   using MagickCore::Rec709LumaPixelIntensityMethod;
0976   using MagickCore::Rec709LuminancePixelIntensityMethod;
0977   using MagickCore::RMSPixelIntensityMethod;
0978 
0979   // PixelInterpolate methods
0980   using MagickCore::PixelInterpolateMethod;
0981   using MagickCore::UndefinedInterpolatePixel;
0982   using MagickCore::AverageInterpolatePixel;
0983   using MagickCore::Average9InterpolatePixel;
0984   using MagickCore::Average16InterpolatePixel;
0985   using MagickCore::BackgroundInterpolatePixel;
0986   using MagickCore::BilinearInterpolatePixel;
0987   using MagickCore::BlendInterpolatePixel;
0988   using MagickCore::CatromInterpolatePixel;
0989   using MagickCore::IntegerInterpolatePixel;
0990   using MagickCore::MeshInterpolatePixel;
0991   using MagickCore::NearestInterpolatePixel;
0992   using MagickCore::SplineInterpolatePixel;
0993 
0994   // Pixel traits
0995   using MagickCore::PixelTrait;
0996   using MagickCore::UndefinedPixelTrait;
0997   using MagickCore::CopyPixelTrait;
0998   using MagickCore::UpdatePixelTrait;
0999   using MagickCore::BlendPixelTrait;
1000 
1001   // Policy domains
1002   using MagickCore::PolicyDomain;
1003   using MagickCore::UndefinedPolicyDomain;
1004   using MagickCore::CoderPolicyDomain;
1005   using MagickCore::DelegatePolicyDomain;
1006   using MagickCore::FilterPolicyDomain;
1007   using MagickCore::PathPolicyDomain;
1008   using MagickCore::ResourcePolicyDomain;
1009   using MagickCore::SystemPolicyDomain;
1010   using MagickCore::CachePolicyDomain;
1011 
1012   // Preview types.  Not currently used by Magick++
1013   using MagickCore::PreviewType;
1014   using MagickCore::UndefinedPreview;
1015   using MagickCore::RotatePreview;
1016   using MagickCore::ShearPreview;
1017   using MagickCore::RollPreview;
1018   using MagickCore::HuePreview;
1019   using MagickCore::SaturationPreview;
1020   using MagickCore::BrightnessPreview;
1021   using MagickCore::GammaPreview;
1022   using MagickCore::SpiffPreview;
1023   using MagickCore::DullPreview;
1024   using MagickCore::GrayscalePreview;
1025   using MagickCore::QuantizePreview;
1026   using MagickCore::DespecklePreview;
1027   using MagickCore::ReduceNoisePreview;
1028   using MagickCore::AddNoisePreview;
1029   using MagickCore::SharpenPreview;
1030   using MagickCore::BlurPreview;
1031   using MagickCore::ThresholdPreview;
1032   using MagickCore::EdgeDetectPreview;
1033   using MagickCore::SpreadPreview;
1034   using MagickCore::SolarizePreview;
1035   using MagickCore::ShadePreview;
1036   using MagickCore::RaisePreview;
1037   using MagickCore::SegmentPreview;
1038   using MagickCore::SwirlPreview;
1039   using MagickCore::ImplodePreview;
1040   using MagickCore::WavePreview;
1041   using MagickCore::OilPaintPreview;
1042   using MagickCore::CharcoalDrawingPreview;
1043   using MagickCore::JPEGPreview;
1044 
1045   // Quantum types
1046   using MagickCore::QuantumType;
1047   using MagickCore::IndexQuantum;
1048   using MagickCore::GrayQuantum;
1049   using MagickCore::IndexAlphaQuantum;
1050   using MagickCore::GrayAlphaQuantum;
1051   using MagickCore::RedQuantum;
1052   using MagickCore::CyanQuantum;
1053   using MagickCore::GreenQuantum;
1054   using MagickCore::YellowQuantum;
1055   using MagickCore::BlueQuantum;
1056   using MagickCore::MagentaQuantum;
1057   using MagickCore::AlphaQuantum;
1058   using MagickCore::BlackQuantum;
1059   using MagickCore::RGBQuantum;
1060   using MagickCore::RGBAQuantum;
1061   using MagickCore::CMYKQuantum;
1062 
1063   // Pixel mask types
1064   using MagickCore::PixelMask;
1065   using MagickCore::UndefinedPixelMask;
1066   using MagickCore::ReadPixelMask;
1067   using MagickCore::WritePixelMask;
1068 
1069   // Rendering intents
1070   using MagickCore::RenderingIntent;
1071   using MagickCore::UndefinedIntent;
1072   using MagickCore::SaturationIntent;
1073   using MagickCore::PerceptualIntent;
1074   using MagickCore::AbsoluteIntent;
1075   using MagickCore::RelativeIntent;
1076 
1077   // Resource types
1078   using MagickCore::ResourceType;
1079   using MagickCore::UndefinedResource;
1080   using MagickCore::AreaResource;
1081   using MagickCore::DiskResource;
1082   using MagickCore::FileResource;
1083   using MagickCore::HeightResource;
1084   using MagickCore::MapResource;
1085   using MagickCore::MemoryResource;
1086   using MagickCore::ThreadResource;
1087   using MagickCore::ThrottleResource;
1088   using MagickCore::TimeResource;
1089   using MagickCore::WidthResource;
1090   using MagickCore::ListLengthResource;
1091 
1092   // Resolution units
1093   using MagickCore::ResolutionType;
1094   using MagickCore::UndefinedResolution;
1095   using MagickCore::PixelsPerInchResolution;
1096   using MagickCore::PixelsPerCentimeterResolution;
1097 
1098   // Sparse Color methods
1099   using MagickCore::SparseColorMethod;
1100   using MagickCore::UndefinedColorInterpolate;
1101   using MagickCore::BarycentricColorInterpolate;
1102   using MagickCore::BilinearColorInterpolate;
1103   using MagickCore::PolynomialColorInterpolate;
1104   using MagickCore::ShepardsColorInterpolate;
1105   using MagickCore::VoronoiColorInterpolate;
1106   using MagickCore::InverseColorInterpolate;
1107   using MagickCore::ManhattanColorInterpolate;
1108 
1109   // Statistic type
1110   using MagickCore::StatisticType;
1111   using MagickCore::UndefinedStatistic;
1112   using MagickCore::GradientStatistic;
1113   using MagickCore::MaximumStatistic;
1114   using MagickCore::MeanStatistic;
1115   using MagickCore::MedianStatistic;
1116   using MagickCore::MinimumStatistic;
1117   using MagickCore::ModeStatistic;
1118   using MagickCore::NonpeakStatistic;
1119   using MagickCore::RootMeanSquareStatistic;
1120   using MagickCore::StandardDeviationStatistic;
1121 
1122   // StorageType type
1123   using MagickCore::StorageType;
1124   using MagickCore::UndefinedPixel;
1125   using MagickCore::CharPixel;
1126   using MagickCore::DoublePixel;
1127   using MagickCore::FloatPixel;
1128   using MagickCore::LongPixel;
1129   using MagickCore::LongLongPixel;
1130   using MagickCore::QuantumPixel;
1131   using MagickCore::ShortPixel;
1132 
1133   // StretchType type
1134   using MagickCore::StretchType;
1135   using MagickCore::UndefinedStretch;
1136   using MagickCore::NormalStretch;
1137   using MagickCore::UltraCondensedStretch;
1138   using MagickCore::ExtraCondensedStretch;
1139   using MagickCore::CondensedStretch;
1140   using MagickCore::SemiCondensedStretch;
1141   using MagickCore::SemiExpandedStretch;
1142   using MagickCore::ExpandedStretch;
1143   using MagickCore::ExtraExpandedStretch;
1144   using MagickCore::UltraExpandedStretch;
1145   using MagickCore::AnyStretch;
1146 
1147   // StyleType type
1148   using MagickCore::StyleType;
1149   using MagickCore::UndefinedStyle;
1150   using MagickCore::NormalStyle;
1151   using MagickCore::ItalicStyle;
1152   using MagickCore::ObliqueStyle;
1153   using MagickCore::AnyStyle;
1154 
1155   // Virtual pixel methods
1156   using MagickCore::VirtualPixelMethod;
1157   using MagickCore::UndefinedVirtualPixelMethod;
1158   using MagickCore::BackgroundVirtualPixelMethod;
1159   using MagickCore::DitherVirtualPixelMethod;
1160   using MagickCore::EdgeVirtualPixelMethod;
1161   using MagickCore::MirrorVirtualPixelMethod;
1162   using MagickCore::RandomVirtualPixelMethod;
1163   using MagickCore::TileVirtualPixelMethod;
1164   using MagickCore::TransparentVirtualPixelMethod;
1165   using MagickCore::MaskVirtualPixelMethod;
1166   using MagickCore::BlackVirtualPixelMethod;
1167   using MagickCore::GrayVirtualPixelMethod;
1168   using MagickCore::WhiteVirtualPixelMethod;
1169   using MagickCore::HorizontalTileVirtualPixelMethod;
1170   using MagickCore::VerticalTileVirtualPixelMethod;
1171   using MagickCore::HorizontalTileEdgeVirtualPixelMethod;
1172   using MagickCore::VerticalTileEdgeVirtualPixelMethod;
1173   using MagickCore::CheckerTileVirtualPixelMethod;
1174 
1175 #if defined(MAGICKCORE_IMPLEMENTATION)
1176   //
1177   // ImageMagick symbols used in implementation code
1178   //
1179   using MagickCore::AcquireAlignedMemory;
1180   using MagickCore::AcquireAuthenticCacheView;
1181   using MagickCore::AcquireDrawingWand;
1182   using MagickCore::AcquireExceptionInfo;
1183   using MagickCore::AcquireVirtualCacheView;
1184   using MagickCore::AcquireImage;
1185   using MagickCore::AcquireKernelInfo;
1186   using MagickCore::AcquireMagickInfo;
1187   using MagickCore::AcquireMagickMemory;
1188   using MagickCore::AcquireQuantumInfo;
1189   using MagickCore::AcquireString;
1190   using MagickCore::AcquireStringInfo;
1191   using MagickCore::AdaptiveBlurImage;
1192   using MagickCore::AdaptiveResizeImage;
1193   using MagickCore::AdaptiveSharpenImage;
1194   using MagickCore::AdaptiveThresholdImage;
1195   using MagickCore::AddNoiseImage;
1196   using MagickCore::AffineTransformImage;
1197   using MagickCore::AnnotateImage;
1198   using MagickCore::AutoGammaImage;
1199   using MagickCore::AutoLevelImage;
1200   using MagickCore::AutoOrientImage;
1201   using MagickCore::AutoThresholdImage;
1202   using MagickCore::Base64Decode;
1203   using MagickCore::Base64Encode;
1204   using MagickCore::BilevelImage;
1205   using MagickCore::BlackThresholdImage;
1206   using MagickCore::BlobToImage;
1207   using MagickCore::BlueShiftImage;
1208   using MagickCore::BlurImage;
1209   using MagickCore::BrightnessContrastImage;
1210   using MagickCore::BorderImage;
1211   using MagickCore::CharcoalImage;
1212   using MagickCore::CannyEdgeImage;
1213   using MagickCore::ChopImage;
1214   using MagickCore::ClampImage;
1215   using MagickCore::ClampToQuantum;
1216   using MagickCore::ClearMagickException;
1217   using MagickCore::CloneDrawInfo;
1218   using MagickCore::CloneImage;
1219   using MagickCore::CloneImageInfo;
1220   using MagickCore::CloneQuantizeInfo;
1221   using MagickCore::ClutImage;
1222   using MagickCore::ColorDecisionListImage;
1223   using MagickCore::ColorizeImage;
1224   using MagickCore::ColorMatrixImage;
1225   using MagickCore::CommandOptionToMnemonic;
1226   using MagickCore::CompareImages;
1227   using MagickCore::CompareImagesLayers;
1228   using MagickCore::CompositeImage;
1229   using MagickCore::ConnectedComponentsImage;
1230   using MagickCore::ConstituteImage;
1231   using MagickCore::ContrastImage;
1232   using MagickCore::ContrastStretchImage;
1233   using MagickCore::ConvertHSLToRGB;
1234   using MagickCore::ConvertRGBToHSL;
1235   using MagickCore::ConvolveImage;
1236   using MagickCore::CopyImagePixels;
1237   using MagickCore::CopyMagickString;
1238   using MagickCore::CropImage;
1239   using MagickCore::CropImageToTiles;
1240   using MagickCore::CycleColormapImage;
1241   using MagickCore::DecipherImage;
1242   using MagickCore::DeleteImageOption;
1243   using MagickCore::DeleteImageRegistry;
1244   using MagickCore::DeskewImage;
1245   using MagickCore::DespeckleImage;
1246   using MagickCore::DestroyCacheView;
1247   using MagickCore::DestroyDrawInfo;
1248   using MagickCore::DestroyDrawingWand;
1249   using MagickCore::DestroyExceptionInfo;
1250   using MagickCore::DestroyImageInfo;
1251   using MagickCore::DestroyImageList;
1252   using MagickCore::DestroyKernelInfo;
1253   using MagickCore::DestroyMagickWand;
1254   using MagickCore::DestroyPixelWand;
1255   using MagickCore::DestroyQuantizeInfo;
1256   using MagickCore::DestroyQuantumInfo;
1257   using MagickCore::DestroyString;
1258   using MagickCore::DestroyStringInfo;
1259   using MagickCore::DisplayImages;
1260   using MagickCore::DistortImage;
1261   using MagickCore::DrawAffine;
1262   using MagickCore::DrawAlpha;
1263   using MagickCore::DrawAnnotation;
1264   using MagickCore::DrawArc;
1265   using MagickCore::DrawBezier;
1266   using MagickCore::DrawCircle;
1267   using MagickCore::DrawColor;
1268   using MagickCore::DrawComment;
1269   using MagickCore::DrawComposite;
1270   using MagickCore::DrawEllipse;
1271   using MagickCore::DrawImage;
1272   using MagickCore::DrawLine;
1273   using MagickCore::DrawPathClose;
1274   using MagickCore::DrawPathCurveToAbsolute;
1275   using MagickCore::DrawPathCurveToQuadraticBezierAbsolute;
1276   using MagickCore::DrawPathCurveToQuadraticBezierRelative;
1277   using MagickCore::DrawPathCurveToQuadraticBezierSmoothAbsolute;
1278   using MagickCore::DrawPathCurveToQuadraticBezierSmoothRelative;
1279   using MagickCore::DrawPathCurveToRelative;
1280   using MagickCore::DrawPathCurveToSmoothAbsolute;
1281   using MagickCore::DrawPathCurveToSmoothRelative;
1282   using MagickCore::DrawPathEllipticArcAbsolute;
1283   using MagickCore::DrawPathEllipticArcRelative;
1284   using MagickCore::DrawPathFinish;
1285   using MagickCore::DrawPathLineToAbsolute;
1286   using MagickCore::DrawPathLineToHorizontalAbsolute;
1287   using MagickCore::DrawPathLineToHorizontalRelative;
1288   using MagickCore::DrawPathLineToRelative;
1289   using MagickCore::DrawPathLineToVerticalAbsolute;
1290   using MagickCore::DrawPathLineToVerticalRelative;
1291   using MagickCore::DrawPathMoveToAbsolute;
1292   using MagickCore::DrawPathMoveToRelative;
1293   using MagickCore::DrawPathStart;
1294   using MagickCore::DrawPoint;
1295   using MagickCore::DrawPolygon;
1296   using MagickCore::DrawPolyline;
1297   using MagickCore::DrawPopClipPath;
1298   using MagickCore::DrawPopDefs;
1299   using MagickCore::DrawPopPattern;
1300   using MagickCore::DrawPushClipPath;
1301   using MagickCore::DrawPushDefs;
1302   using MagickCore::DrawPushPattern;
1303   using MagickCore::DrawRectangle;
1304   using MagickCore::DrawRender;
1305   using MagickCore::DrawRotate;
1306   using MagickCore::DrawRoundRectangle;
1307   using MagickCore::DrawScale;
1308   using MagickCore::DrawSetClipPath;
1309   using MagickCore::DrawSetClipRule;
1310   using MagickCore::DrawSetClipUnits;
1311   using MagickCore::DrawSetFillColor;
1312   using MagickCore::DrawSetFillOpacity;
1313   using MagickCore::DrawSetFillPatternURL;
1314   using MagickCore::DrawSetFillRule;
1315   using MagickCore::DrawSetFont;
1316   using MagickCore::DrawSetFontFamily;
1317   using MagickCore::DrawSetFontSize;
1318   using MagickCore::DrawSetFontStretch;
1319   using MagickCore::DrawSetFontStyle;
1320   using MagickCore::DrawSetFontWeight;
1321   using MagickCore::DrawSetGravity;
1322   using MagickCore::DrawSetStrokeAntialias;
1323   using MagickCore::DrawSetStrokeColor;
1324   using MagickCore::DrawSetStrokeDashArray;
1325   using MagickCore::DrawSetStrokeDashOffset;
1326   using MagickCore::DrawSetStrokeLineCap;
1327   using MagickCore::DrawSetStrokeLineJoin;
1328   using MagickCore::DrawSetStrokeMiterLimit;
1329   using MagickCore::DrawSetStrokeOpacity;
1330   using MagickCore::DrawSetStrokePatternURL;
1331   using MagickCore::DrawSetStrokeWidth;
1332   using MagickCore::DrawSetTextAntialias;
1333   using MagickCore::DrawSetTextDecoration;
1334   using MagickCore::DrawSetTextEncoding;
1335   using MagickCore::DrawSetTextInterlineSpacing;
1336   using MagickCore::DrawSetTextInterwordSpacing;
1337   using MagickCore::DrawSetTextKerning;
1338   using MagickCore::DrawSetTextUnderColor;
1339   using MagickCore::DrawSetViewbox;
1340   using MagickCore::DrawSkewX;
1341   using MagickCore::DrawSkewY;
1342   using MagickCore::DrawTranslate;
1343   using MagickCore::EdgeImage;
1344   using MagickCore::EmbossImage;
1345   using MagickCore::EncipherImage;
1346   using MagickCore::EnhanceImage;
1347   using MagickCore::EqualizeImage;
1348   using MagickCore::EvaluateImage;
1349   using MagickCore::ExportImagePixels;
1350   using MagickCore::ExportQuantumPixels;
1351   using MagickCore::ExtentImage;
1352   using MagickCore::FlipImage;
1353   using MagickCore::FloodfillPaintImage;
1354   using MagickCore::FlopImage;
1355   using MagickCore::FormatLocaleString;
1356   using MagickCore::ForwardFourierTransformImage;
1357   using MagickCore::FrameImage;
1358   using MagickCore::FxImage;
1359   using MagickCore::GammaImage;
1360   using MagickCore::GaussianBlurImage;
1361   using MagickCore::GaussianBlurImage;
1362   using MagickCore::GetAffineMatrix;
1363   using MagickCore::GetAuthenticMetacontent;
1364   using MagickCore::GetBlobSize;
1365   using MagickCore::GetCacheViewAuthenticMetacontent;
1366   using MagickCore::GetCacheViewAuthenticPixels;
1367   using MagickCore::GetCacheViewVirtualPixels;
1368   using MagickCore::GetClientName;
1369   using MagickCore::GetColorTuple;
1370   using MagickCore::GetDrawInfo;
1371   using MagickCore::GetGeometry;
1372   using MagickCore::GetImageArtifact;
1373   using MagickCore::GetImageMoments;
1374   using MagickCore::GetImageBoundingBox;
1375   using MagickCore::GetImageDistortion;
1376   using MagickCore::GetImageDepth;
1377   using MagickCore::GetImageMask;
1378   using MagickCore::GetImageMean;
1379   using MagickCore::GetImageKurtosis;
1380   using MagickCore::GetImageRange;
1381   using MagickCore::GetImageDepth;
1382   using MagickCore::GetImageInfo;
1383   using MagickCore::GetImageInfoFile;
1384   using MagickCore::GetImageOption;
1385   using MagickCore::GetImagePerceptualHash;
1386   using MagickCore::GetAuthenticPixels;
1387   using MagickCore::GetImageProfile;
1388   using MagickCore::GetImageProperty;
1389   using MagickCore::GetImageQuantizeError;
1390   using MagickCore::GetImageType;
1391   using MagickCore::GetMagickDecoderThreadSupport;
1392   using MagickCore::GetMagickEncoderThreadSupport;
1393   using MagickCore::GetMagickInfo;
1394   using MagickCore::GetMultilineTypeMetrics;
1395   using MagickCore::GetNextValueInLinkedList;
1396   using MagickCore::GetNumberOfElementsInLinkedList;
1397   using MagickCore::GetPixelBlue;
1398   using MagickCore::GetPixelChannelOffset;
1399   using MagickCore::GetPixelChannelTraits;
1400   using MagickCore::GetPixelGreen;
1401   using MagickCore::GetPixelInfo;
1402   using MagickCore::GetPixelRed;
1403   using MagickCore::GetNumberColors;
1404   using MagickCore::GetPageGeometry;
1405   using MagickCore::GetQuantizeInfo;
1406   using MagickCore::GetStringInfoDatum;
1407   using MagickCore::GetStringInfoLength;
1408   using MagickCore::GetTypeMetrics;
1409   using MagickCore::GetValueFromLinkedList;
1410   using MagickCore::GetVirtualMetacontent;
1411   using MagickCore::GetVirtualPixels;
1412   using MagickCore::GetImageVirtualPixelMethod;
1413   using MagickCore::GlobExpression;
1414   using MagickCore::GravityAdjustGeometry;
1415   using MagickCore::GrayscaleImage;
1416   using MagickCore::HaldClutImage;
1417   using MagickCore::HoughLineImage;
1418   using MagickCore::ImageToBlob;
1419   using MagickCore::ImagesToBlob;
1420   using MagickCore::ImplodeImage;
1421   using MagickCore::ImportQuantumPixels;
1422   using MagickCore::InterpretImageProperties;
1423   using MagickCore::InverseFourierTransformImage;
1424   using MagickCore::InvokeDynamicImageFilter;
1425   using MagickCore::IsEventLogging;
1426   using MagickCore::IsGeometry;
1427   using MagickCore::IsImageOpaque;
1428   using MagickCore::IsImagesEqual;
1429   using MagickCore::KuwaharaImage;
1430   using MagickCore::LevelImage;
1431   using MagickCore::LevelImageColors;
1432   using MagickCore::LevelizeImage;
1433   using MagickCore::LinearStretchImage;
1434   using MagickCore::LiquidRescaleImage;
1435   using MagickCore::LocalContrastImage;
1436   using MagickCore::LocaleCompare;
1437   using MagickCore::LockSemaphoreInfo;
1438   using MagickCore::LogMagickEvent;
1439   using MagickCore::MagickCoreTerminus;
1440   using MagickCore::MagickToMime;
1441   using MagickCore::MagnifyImage;
1442   using MagickCore::MergeImageLayers;
1443   using MagickCore::MinifyImage;
1444   using MagickCore::ModulateImage;
1445   using MagickCore::MorphologyImage;
1446   using MagickCore::MotionBlurImage;
1447   using MagickCore::NegateImage;
1448   using MagickCore::NewMagickWandFromImage;
1449   using MagickCore::NewPixelWand;
1450   using MagickCore::NormalizeImage;
1451   using MagickCore::OilPaintImage;
1452   using MagickCore::OpaquePaintImage;
1453   using MagickCore::OrderedDitherImage;
1454   using MagickCore::OptimizeImageLayers;
1455   using MagickCore::OptimizeImageTransparency;
1456   using MagickCore::OptimizePlusImageLayers;
1457   using MagickCore::ParseMetaGeometry;
1458   using MagickCore::PerceptibleImage;
1459   using MagickCore::PingBlob;
1460   using MagickCore::PingImage;
1461   using MagickCore::PixelSetPixelColor;
1462   using MagickCore::PolaroidImage;
1463   using MagickCore::PopDrawingWand;
1464   using MagickCore::PosterizeImage;
1465   using MagickCore::ProfileImage;
1466   using MagickCore::PushDrawingWand;
1467   using MagickCore::QuantizeImage;
1468   using MagickCore::QueueAuthenticPixels;
1469   using MagickCore::QueueCacheViewAuthenticPixels;
1470   using MagickCore::RaiseImage;
1471   using MagickCore::RandomThresholdImage;
1472   using MagickCore::ReadImage;
1473   using MagickCore::RegisterMagickInfo;
1474   using MagickCore::RelinquishMagickMemory;
1475   using MagickCore::RemapImage;
1476   using MagickCore::ResampleImage;
1477   using MagickCore::ResetLinkedListIterator;
1478   using MagickCore::ResizeImage;
1479   using MagickCore::ResizeMagickMemory;
1480   using MagickCore::RollImage;
1481   using MagickCore::RotateImage;
1482   using MagickCore::RotationalBlurImage;
1483   using MagickCore::SampleImage;
1484   using MagickCore::ScaleImage;
1485   using MagickCore::SegmentImage;
1486   using MagickCore::SelectiveBlurImage;
1487   using MagickCore::SeparateImage;
1488   using MagickCore::SepiaToneImage;
1489   using MagickCore::SetGeometry;
1490   using MagickCore::SetImageAlpha;
1491   using MagickCore::SetImageArtifact;
1492   using MagickCore::SetImageBackgroundColor;
1493   using MagickCore::SetImageColorspace;
1494   using MagickCore::SetImageDepth;
1495   using MagickCore::SetImageExtent;
1496   using MagickCore::SetImageInfo;
1497   using MagickCore::SetImageInfoFile;
1498   using MagickCore::SetImageMask;
1499   using MagickCore::SetImageOption;
1500   using MagickCore::SetImageProfile;
1501   using MagickCore::SetImageProperty;
1502   using MagickCore::SetImageRegistry;
1503   using MagickCore::SetImageType;
1504   using MagickCore::SetLogEventMask;
1505   using MagickCore::SetMagickResourceLimit;
1506   using MagickCore::SetImageVirtualPixelMethod;
1507   using MagickCore::SetPixelChannel;
1508   using MagickCore::SetImageChannelMask;
1509   using MagickCore::SetStringInfoDatum;
1510   using MagickCore::ShadeImage;
1511   using MagickCore::ShadowImage;
1512   using MagickCore::SharpenImage;
1513   using MagickCore::SharpenImage;
1514   using MagickCore::ShaveImage;
1515   using MagickCore::ShearImage;
1516   using MagickCore::SigmoidalContrastImage;
1517   using MagickCore::SignatureImage;
1518   using MagickCore::SimilarityImage;
1519   using MagickCore::SketchImage;
1520   using MagickCore::SmushImages;
1521   using MagickCore::SolarizeImage;
1522   using MagickCore::SparseColorImage;
1523   using MagickCore::SpliceImage;
1524   using MagickCore::SpreadImage;
1525   using MagickCore::StatisticImage;
1526   using MagickCore::SteganoImage;
1527   using MagickCore::StereoImage;
1528   using MagickCore::StripImage;
1529   using MagickCore::SwirlImage;
1530   using MagickCore::SyncCacheViewAuthenticPixels;
1531   using MagickCore::SyncImage;
1532   using MagickCore::SyncAuthenticPixels;
1533   using MagickCore::TextureImage;
1534   using MagickCore::ThrowException;
1535   using MagickCore::TintImage;
1536   using MagickCore::TransformImageColorspace;
1537   using MagickCore::TransparentPaintImage;
1538   using MagickCore::TransparentPaintImageChroma;
1539   using MagickCore::TransposeImage;
1540   using MagickCore::TransverseImage;
1541   using MagickCore::TrimImage;
1542   using MagickCore::UniqueImageColors;
1543   using MagickCore::UnlockSemaphoreInfo;
1544   using MagickCore::UnregisterMagickInfo;
1545   using MagickCore::UnsharpMaskImage;
1546   using MagickCore::VignetteImage;
1547   using MagickCore::WaveImage;
1548   using MagickCore::WaveletDenoiseImage;
1549   using MagickCore::WhiteThresholdImage;
1550   using MagickCore::WriteImage;
1551 
1552 #endif // MAGICKCORE_IMPLEMENTATION
1553 
1554 }
1555 
1556 //////////////////////////////////////////////////////////////////////
1557 //
1558 // No user-serviceable parts beyond this point
1559 //
1560 //////////////////////////////////////////////////////////////////////
1561 #define GetPPException \
1562   MagickCore::ExceptionInfo \
1563     *exceptionInfo; \
1564   exceptionInfo=MagickCore::AcquireExceptionInfo();
1565 #define GetAndSetPPChannelMask(channel) \
1566   MagickCore::ChannelType \
1567     channel_mask; \
1568   channel_mask=MagickCore::SetImageChannelMask(image(),channel)
1569 #define ClonePPDrawException(wand) \
1570   MagickCore::ExceptionInfo \
1571     *exceptionInfo; \
1572   exceptionInfo=MagickCore::DrawCloneExceptionInfo(wand)
1573 #define RestorePPChannelMask \
1574   MagickCore::SetPixelChannelMask(image(),channel_mask)
1575 #define SetPPChannelMask(channel) \
1576   (void) MagickCore::SetImageChannelMask(image(),channel)
1577 #define ThrowPPDrawException(quiet) \
1578   throwException(exceptionInfo,quiet); \
1579   (void) MagickCore::DestroyExceptionInfo(exceptionInfo)
1580 #define ThrowPPException(quiet) \
1581   throwException(exceptionInfo,quiet); \
1582   (void) MagickCore::DestroyExceptionInfo(exceptionInfo)
1583 
1584 #endif // Magick_Include_header