github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/include/Magick++/Include.h (about) 1 // This may look like C code, but it is really -*- C++ -*- 2 // 3 // Copyright Bob Friesenhahn, 1999 - 2018 4 // 5 // Inclusion of GraphicsMagick headers (with namespace magic) 6 7 #ifndef Magick_Include_header 8 #define Magick_Include_header 9 10 #if !defined(_MAGICK_CONFIG_H) 11 # define _MAGICK_CONFIG_H 12 # if !defined(vms) && !defined(macintosh) 13 # include "magick/magick_config.h" 14 # else 15 # include "magick_config.h" 16 # endif 17 # undef inline // Remove possible definition from config.h 18 # undef class 19 #endif 20 21 #include <stdio.h> 22 #include <stdarg.h> 23 #include <stdlib.h> 24 #include <time.h> 25 #include <sys/types.h> /* POSIX 1990 header and declares size_t and ssize_t */ 26 27 #if defined(__BORLANDC__) 28 # include <vcl.h> /* Borland C++ Builder 4.0 requirement */ 29 #endif // defined(__BORLANDC__) 30 31 // 32 // Include GraphicsMagick headers into namespace "MagickLib". If 33 // MAGICK_IMPLEMENTATION is defined, include GraphicsMagick development 34 // headers. This scheme minimizes the possibility of conflict with 35 // user code. 36 // 37 namespace MagickLib 38 { 39 #include <magick/api.h> 40 #undef inline // Remove possible definition from config.h 41 42 #undef class 43 } 44 45 // 46 // Provide appropriate DLL imports/exports for Visual C++, 47 // Borland C++Builder and MinGW builds. 48 // 49 #if (defined(WIN32) || defined(WIN64)) && !defined (__CYGWIN__) //&& !defined(__MINGW32__) 50 # define MagickCplusPlusDLLSupported 51 #endif 52 #if defined(MagickCplusPlusDLLSupported) 53 # if defined(_MT) && defined(_DLL) && !defined(_LIB) && !defined(STATIC_MAGICK) 54 // 55 // In a native Windows build, the following defines are used: 56 // 57 // _MT = Multithreaded 58 // _DLL = Using code is part of a DLL 59 // _LIB = Using code is being built as a library. 60 // _MAGICKMOD_ = Build uses loadable modules (Magick++ does not care about this) 61 // 62 // In the case where GraphicsMagick is built as a static library but the 63 // using code is dynamic, STATIC_MAGICK may be defined in the project to 64 // override triggering dynamic library behavior. 65 // 66 # if defined(_VISUALC_) 67 # define MagickDLLExplicitTemplate /* Explicit template instantiation in DLLs */ 68 # pragma warning( disable: 4273 ) /* Disable the stupid dll linkage warnings */ 69 # pragma warning( disable: 4251 ) 70 # endif 71 # if !defined(MAGICK_IMPLEMENTATION) 72 # define MagickDLLDecl __declspec(dllimport) 73 # define MagickDLLDeclExtern extern __declspec(dllimport) 74 # if defined(_VISUALC_) 75 # pragma message( "Magick++ lib DLL import" ) 76 # endif 77 # else 78 # if defined(__BORLANDC__) || defined(__MINGW32__) 79 # define MagickDLLDecl __declspec(dllexport) 80 # define MagickDLLDeclExtern __declspec(dllexport) 81 # if defined(__BORLANDC__) 82 # pragma message( "BCBMagick++ lib DLL export" ) 83 # endif 84 # else 85 # define MagickDLLDecl __declspec(dllexport) 86 # define MagickDLLDeclExtern extern __declspec(dllexport) 87 # endif 88 # if defined(_VISUALC_) 89 # pragma message( "Magick++ lib DLL export" ) 90 # endif 91 # endif 92 # else 93 # define MagickDLLDecl 94 # define MagickDLLDeclExtern 95 # if defined(_VISUALC_) 96 # pragma message( "Magick++ lib static interface" ) 97 # endif 98 # if defined(_MSC_VER) && defined(STATIC_MAGICK) && !defined(NOAUTOLINK_MAGICK) 99 # if defined(_DEBUG) 100 # if defined(HasBZLIB) 101 # pragma comment(lib, "CORE_DB_bzlib_.lib") 102 # endif 103 # pragma comment(lib, "CORE_DB_coders_.lib") 104 # pragma comment(lib, "CORE_DB_filters_.lib") 105 # if defined(HasJBIG) 106 # pragma comment(lib, "CORE_DB_jbig_.lib") 107 # endif 108 # if defined(HasJP2) 109 # pragma comment(lib, "CORE_DB_jp2_.lib") 110 # endif 111 # if defined(HasJPEG) 112 # pragma comment(lib, "CORE_DB_jpeg_.lib") 113 # endif 114 # if defined(HasLCMS) 115 # pragma comment(lib, "CORE_DB_lcms_.lib") 116 # endif 117 # if defined(HasXML) 118 # pragma comment(lib, "CORE_DB_libxml_.lib") 119 # endif 120 # pragma comment(lib, "CORE_DB_magick_.lib") 121 # pragma comment(lib, "CORE_DB_Magick++_.lib") 122 # if defined(HasPNG) 123 # pragma comment(lib, "CORE_DB_png_.lib") 124 # endif 125 # if defined(HasTIFF) 126 # pragma comment(lib, "CORE_DB_tiff_.lib") 127 # endif 128 # if defined(HasTTF) 129 # pragma comment(lib, "CORE_DB_ttf_.lib") 130 # endif 131 # pragma comment(lib, "CORE_DB_wand_.lib") 132 # if defined(HasWEBP) 133 # pragma comment(lib, "CORE_DB_webp_.lib") 134 # endif 135 # if defined(HasWMFlite) 136 # pragma comment(lib, "CORE_DB_wmf_.lib") 137 # endif 138 # if defined(HasX11) 139 # pragma comment(lib, "CORE_DB_xlib_.lib") 140 # endif 141 # if defined(HasZLIB) 142 # pragma comment(lib, "CORE_DB_zlib_.lib") 143 # endif 144 # else 145 # if defined(HasBZLIB) 146 # pragma comment(lib, "CORE_RL_bzlib_.lib") 147 # endif 148 # pragma comment(lib, "CORE_RL_coders_.lib") 149 # pragma comment(lib, "CORE_RL_filters_.lib") 150 # if defined(HasJBIG) 151 # pragma comment(lib, "CORE_RL_jbig_.lib") 152 # endif 153 # if defined(HasJP2) 154 # pragma comment(lib, "CORE_RL_jp2_.lib") 155 # endif 156 # if defined(HasJPEG) 157 # pragma comment(lib, "CORE_RL_jpeg_.lib") 158 # endif 159 # if defined(HasLCMS) 160 # pragma comment(lib, "CORE_RL_lcms_.lib") 161 # endif 162 # if defined(HasXML) 163 # pragma comment(lib, "CORE_RL_libxml_.lib") 164 # endif 165 # pragma comment(lib, "CORE_RL_magick_.lib") 166 # pragma comment(lib, "CORE_RL_Magick++_.lib") 167 # if defined(HasPNG) 168 # pragma comment(lib, "CORE_RL_png_.lib") 169 # endif 170 # if defined(HasTIFF) 171 # pragma comment(lib, "CORE_RL_tiff_.lib") 172 # endif 173 # if defined(HasTTF) 174 # pragma comment(lib, "CORE_RL_ttf_.lib") 175 # endif 176 # pragma comment(lib, "CORE_RL_wand_.lib") 177 # if defined(HasWEBP) 178 # pragma comment(lib, "CORE_RL_webp_.lib") 179 # endif 180 # if defined(HasWMFlite) 181 # pragma comment(lib, "CORE_RL_wmf_.lib") 182 # endif 183 # if defined(HasX11) 184 # pragma comment(lib, "CORE_RL_xlib_.lib") 185 # endif 186 # if defined(HasZLIB) 187 # pragma comment(lib, "CORE_RL_zlib_.lib") 188 # endif 189 # endif 190 # if defined(_WIN32_WCE) 191 # pragma comment(lib, "wsock32.lib") 192 # else 193 # pragma comment(lib, "ws2_32.lib") 194 # endif 195 # endif 196 # endif 197 #else 198 # define MagickDLLDecl 199 # define MagickDLLDeclExtern 200 #endif 201 202 #if (defined(WIN32) || defined(WIN64)) && defined(_VISUALC_) 203 # pragma warning(disable : 4996) /* function deprecation warnings */ 204 #endif 205 206 #if defined(MAGICK_IMPLEMENTATION) 207 namespace MagickLib 208 { 209 # include "magick/enum_strings.h" 210 } 211 #endif 212 213 // 214 // Import GraphicsMagick symbols and types which are used as part of the 215 // Magick++ API definition into namespace "Magick". 216 // 217 namespace Magick 218 { 219 // The datatype for an RGB component 220 using MagickLib::Quantum; 221 222 // Image class types 223 using MagickLib::ClassType; 224 using MagickLib::UndefinedClass; 225 using MagickLib::DirectClass; 226 using MagickLib::PseudoClass; 227 228 // Channel types 229 using MagickLib::ChannelType; 230 using MagickLib::UndefinedChannel; 231 using MagickLib::RedChannel; 232 using MagickLib::CyanChannel; 233 using MagickLib::GreenChannel; 234 using MagickLib::MagentaChannel; 235 using MagickLib::BlueChannel; 236 using MagickLib::YellowChannel; 237 using MagickLib::OpacityChannel; 238 using MagickLib::BlackChannel; 239 using MagickLib::MatteChannel; 240 using MagickLib::AllChannels; 241 using MagickLib::GrayChannel; 242 243 // Color-space types 244 using MagickLib::ColorspaceType; 245 using MagickLib::UndefinedColorspace; 246 using MagickLib::RGBColorspace; 247 using MagickLib::GRAYColorspace; 248 using MagickLib::TransparentColorspace; 249 using MagickLib::OHTAColorspace; 250 using MagickLib::XYZColorspace; 251 using MagickLib::YCbCrColorspace; 252 using MagickLib::YCCColorspace; 253 using MagickLib::YIQColorspace; 254 using MagickLib::YPbPrColorspace; 255 using MagickLib::YUVColorspace; 256 using MagickLib::CMYKColorspace; 257 using MagickLib::sRGBColorspace; 258 using MagickLib::HSLColorspace; 259 using MagickLib::HWBColorspace; 260 using MagickLib::LABColorspace; 261 using MagickLib::CineonLogRGBColorspace; 262 using MagickLib::Rec601LumaColorspace; 263 using MagickLib::Rec709LumaColorspace; 264 using MagickLib::Rec709YCbCrColorspace; 265 266 // Composition operations 267 using MagickLib::AddCompositeOp; 268 using MagickLib::AtopCompositeOp; 269 using MagickLib::BumpmapCompositeOp; 270 using MagickLib::ClearCompositeOp; 271 using MagickLib::ColorizeCompositeOp; 272 using MagickLib::CompositeOperator; 273 using MagickLib::CopyBlueCompositeOp; 274 using MagickLib::CopyCompositeOp; 275 using MagickLib::CopyGreenCompositeOp; 276 using MagickLib::CopyOpacityCompositeOp; 277 using MagickLib::CopyRedCompositeOp; 278 using MagickLib::DarkenCompositeOp; 279 using MagickLib::DifferenceCompositeOp; 280 using MagickLib::DisplaceCompositeOp; 281 using MagickLib::DissolveCompositeOp; 282 using MagickLib::HueCompositeOp; 283 using MagickLib::InCompositeOp; 284 using MagickLib::LightenCompositeOp; 285 using MagickLib::LuminizeCompositeOp; 286 using MagickLib::MinusCompositeOp; 287 using MagickLib::ModulateCompositeOp; 288 using MagickLib::MultiplyCompositeOp; 289 using MagickLib::NoCompositeOp; 290 using MagickLib::OutCompositeOp; 291 using MagickLib::OverCompositeOp; 292 using MagickLib::OverlayCompositeOp; 293 using MagickLib::PlusCompositeOp; 294 using MagickLib::SaturateCompositeOp; 295 using MagickLib::ScreenCompositeOp; 296 using MagickLib::SubtractCompositeOp; 297 using MagickLib::ThresholdCompositeOp; 298 using MagickLib::UndefinedCompositeOp; 299 using MagickLib::XorCompositeOp; 300 using MagickLib::CopyCyanCompositeOp; 301 using MagickLib::CopyMagentaCompositeOp; 302 using MagickLib::CopyYellowCompositeOp; 303 using MagickLib::CopyBlackCompositeOp; 304 using MagickLib::DivideCompositeOp; 305 using MagickLib::HardLightCompositeOp; 306 using MagickLib::ExclusionCompositeOp; 307 using MagickLib::ColorDodgeCompositeOp; 308 using MagickLib::ColorBurnCompositeOp; 309 using MagickLib::SoftLightCompositeOp; 310 using MagickLib::LinearBurnCompositeOp; 311 using MagickLib::LinearDodgeCompositeOp; 312 using MagickLib::LinearLightCompositeOp; 313 using MagickLib::VividLightCompositeOp; 314 using MagickLib::PinLightCompositeOp; 315 using MagickLib::HardMixCompositeOp; 316 317 // Compression algorithms 318 using MagickLib::CompressionType; 319 using MagickLib::UndefinedCompression; 320 using MagickLib::NoCompression; 321 using MagickLib::BZipCompression; 322 using MagickLib::FaxCompression; 323 using MagickLib::Group3Compression; 324 using MagickLib::Group4Compression; 325 using MagickLib::JPEGCompression; 326 using MagickLib::LZWCompression; 327 using MagickLib::RLECompression; 328 using MagickLib::ZipCompression; 329 using MagickLib::LZMACompression; 330 using MagickLib::JPEG2000Compression; 331 using MagickLib::JBIG1Compression; 332 using MagickLib::JBIG2Compression; 333 using MagickLib::ZSTDCompression; 334 using MagickLib::WebPCompression; 335 336 using MagickLib::DisposeType; 337 using MagickLib::UndefinedDispose; 338 using MagickLib::NoneDispose; 339 using MagickLib::BackgroundDispose; 340 using MagickLib::PreviousDispose; 341 342 // Endian options 343 using MagickLib::EndianType; 344 using MagickLib::UndefinedEndian; 345 using MagickLib::LSBEndian; 346 using MagickLib::MSBEndian; 347 using MagickLib::NativeEndian; 348 349 // Exception types 350 using MagickLib::ExceptionType; 351 using MagickLib::UndefinedException; 352 using MagickLib::EventException; 353 using MagickLib::ExceptionEvent; 354 using MagickLib::ResourceEvent; 355 using MagickLib::ResourceLimitEvent; 356 using MagickLib::TypeEvent; 357 using MagickLib::AnnotateEvent; 358 using MagickLib::OptionEvent; 359 using MagickLib::DelegateEvent; 360 using MagickLib::MissingDelegateEvent; 361 using MagickLib::CorruptImageEvent; 362 using MagickLib::FileOpenEvent; 363 using MagickLib::BlobEvent; 364 using MagickLib::StreamEvent; 365 using MagickLib::CacheEvent; 366 using MagickLib::CoderEvent; 367 using MagickLib::ModuleEvent; 368 using MagickLib::DrawEvent; 369 using MagickLib::RenderEvent; 370 using MagickLib::ImageEvent; 371 using MagickLib::WandEvent; 372 using MagickLib::TemporaryFileEvent; 373 using MagickLib::TransformEvent; 374 using MagickLib::XServerEvent; 375 using MagickLib::X11Event; 376 using MagickLib::UserEvent; 377 using MagickLib::MonitorEvent; 378 using MagickLib::LocaleEvent; 379 using MagickLib::DeprecateEvent; 380 using MagickLib::RegistryEvent; 381 using MagickLib::ConfigureEvent; 382 using MagickLib::WarningException; 383 using MagickLib::ExceptionWarning; 384 using MagickLib::ResourceWarning; 385 using MagickLib::ResourceLimitWarning; 386 using MagickLib::TypeWarning; 387 using MagickLib::AnnotateWarning; 388 using MagickLib::OptionWarning; 389 using MagickLib::DelegateWarning; 390 using MagickLib::MissingDelegateWarning; 391 using MagickLib::CorruptImageWarning; 392 using MagickLib::FileOpenWarning; 393 using MagickLib::BlobWarning; 394 using MagickLib::StreamWarning; 395 using MagickLib::CacheWarning; 396 using MagickLib::CoderWarning; 397 using MagickLib::ModuleWarning; 398 using MagickLib::DrawWarning; 399 using MagickLib::RenderWarning; 400 using MagickLib::ImageWarning; 401 using MagickLib::WandWarning; 402 using MagickLib::TemporaryFileWarning; 403 using MagickLib::TransformWarning; 404 using MagickLib::XServerWarning; 405 using MagickLib::X11Warning; 406 using MagickLib::UserWarning; 407 using MagickLib::MonitorWarning; 408 using MagickLib::LocaleWarning; 409 using MagickLib::DeprecateWarning; 410 using MagickLib::RegistryWarning; 411 using MagickLib::ConfigureWarning; 412 using MagickLib::ErrorException; 413 using MagickLib::ExceptionError; 414 using MagickLib::ResourceError; 415 using MagickLib::ResourceLimitError; 416 using MagickLib::TypeError; 417 using MagickLib::AnnotateError; 418 using MagickLib::OptionError; 419 using MagickLib::DelegateError; 420 using MagickLib::MissingDelegateError; 421 using MagickLib::CorruptImageError; 422 using MagickLib::FileOpenError; 423 using MagickLib::BlobError; 424 using MagickLib::StreamError; 425 using MagickLib::CacheError; 426 using MagickLib::CoderError; 427 using MagickLib::ModuleError; 428 using MagickLib::DrawError; 429 using MagickLib::RenderError; 430 using MagickLib::ImageError; 431 using MagickLib::WandError; 432 using MagickLib::TemporaryFileError; 433 using MagickLib::TransformError; 434 using MagickLib::XServerError; 435 using MagickLib::X11Error; 436 using MagickLib::UserError; 437 using MagickLib::MonitorError; 438 using MagickLib::LocaleError; 439 using MagickLib::DeprecateError; 440 using MagickLib::RegistryError; 441 using MagickLib::ConfigureError; 442 using MagickLib::FatalErrorException; 443 using MagickLib::ExceptionFatalError; 444 using MagickLib::ResourceFatalError; 445 using MagickLib::ResourceLimitFatalError; 446 using MagickLib::TypeFatalError; 447 using MagickLib::AnnotateFatalError; 448 using MagickLib::OptionFatalError; 449 using MagickLib::DelegateFatalError; 450 using MagickLib::MissingDelegateFatalError; 451 using MagickLib::CorruptImageFatalError; 452 using MagickLib::FileOpenFatalError; 453 using MagickLib::BlobFatalError; 454 using MagickLib::StreamFatalError; 455 using MagickLib::CacheFatalError; 456 using MagickLib::CoderFatalError; 457 using MagickLib::ModuleFatalError; 458 using MagickLib::DrawFatalError; 459 using MagickLib::RenderFatalError; 460 using MagickLib::ImageFatalError; 461 using MagickLib::WandFatalError; 462 using MagickLib::TemporaryFileFatalError; 463 using MagickLib::TransformFatalError; 464 using MagickLib::XServerFatalError; 465 using MagickLib::X11FatalError; 466 using MagickLib::UserFatalError; 467 using MagickLib::MonitorFatalError; 468 using MagickLib::LocaleFatalError; 469 using MagickLib::DeprecateFatalError; 470 using MagickLib::RegistryFatalError; 471 using MagickLib::ConfigureFatalError; 472 473 // Fill rules 474 using MagickLib::FillRule; 475 using MagickLib::UndefinedRule; 476 using MagickLib::EvenOddRule; 477 using MagickLib::NonZeroRule; 478 479 // Filter types 480 using MagickLib::FilterTypes; 481 using MagickLib::UndefinedFilter; 482 using MagickLib::PointFilter; 483 using MagickLib::BoxFilter; 484 using MagickLib::TriangleFilter; 485 using MagickLib::HermiteFilter; 486 using MagickLib::HanningFilter; 487 using MagickLib::HammingFilter; 488 using MagickLib::BlackmanFilter; 489 using MagickLib::GaussianFilter; 490 using MagickLib::QuadraticFilter; 491 using MagickLib::CubicFilter; 492 using MagickLib::CatromFilter; 493 using MagickLib::MitchellFilter; 494 using MagickLib::LanczosFilter; 495 using MagickLib::BesselFilter; 496 using MagickLib::SincFilter; 497 498 // Bit gravity 499 using MagickLib::GravityType; 500 using MagickLib::ForgetGravity; 501 using MagickLib::NorthWestGravity; 502 using MagickLib::NorthGravity; 503 using MagickLib::NorthEastGravity; 504 using MagickLib::WestGravity; 505 using MagickLib::CenterGravity; 506 using MagickLib::EastGravity; 507 using MagickLib::SouthWestGravity; 508 using MagickLib::SouthGravity; 509 using MagickLib::SouthEastGravity; 510 using MagickLib::StaticGravity; 511 512 // Image types 513 using MagickLib::ImageType; 514 using MagickLib::UndefinedType; 515 using MagickLib::BilevelType; 516 using MagickLib::GrayscaleType; 517 using MagickLib::GrayscaleMatteType; 518 using MagickLib::PaletteType; 519 using MagickLib::PaletteMatteType; 520 using MagickLib::TrueColorType; 521 using MagickLib::TrueColorMatteType; 522 using MagickLib::ColorSeparationType; 523 using MagickLib::ColorSeparationMatteType; 524 using MagickLib::OptimizeType; 525 526 // Interlace types 527 using MagickLib::InterlaceType; 528 using MagickLib::UndefinedInterlace; 529 using MagickLib::NoInterlace; 530 using MagickLib::LineInterlace; 531 using MagickLib::PlaneInterlace; 532 using MagickLib::PartitionInterlace; 533 534 // Line cap types 535 using MagickLib::LineCap; 536 using MagickLib::UndefinedCap; 537 using MagickLib::ButtCap; 538 using MagickLib::RoundCap; 539 using MagickLib::SquareCap; 540 541 // Line join types 542 using MagickLib::LineJoin; 543 using MagickLib::UndefinedJoin; 544 using MagickLib::MiterJoin; 545 using MagickLib::RoundJoin; 546 using MagickLib::BevelJoin; 547 548 // Noise types 549 using MagickLib::NoiseType; 550 using MagickLib::UniformNoise; 551 using MagickLib::GaussianNoise; 552 using MagickLib::MultiplicativeGaussianNoise; 553 using MagickLib::ImpulseNoise; 554 using MagickLib::LaplacianNoise; 555 using MagickLib::PoissonNoise; 556 using MagickLib::RandomNoise; 557 558 // Orientation types 559 using MagickLib::OrientationType; 560 using MagickLib::UndefinedOrientation; 561 using MagickLib::TopLeftOrientation; 562 using MagickLib::TopRightOrientation; 563 using MagickLib::BottomRightOrientation; 564 using MagickLib::BottomLeftOrientation; 565 using MagickLib::LeftTopOrientation; 566 using MagickLib::RightTopOrientation; 567 using MagickLib::RightBottomOrientation; 568 using MagickLib::LeftBottomOrientation; 569 570 // Paint methods 571 using MagickLib::PaintMethod; 572 using MagickLib::PointMethod; 573 using MagickLib::ReplaceMethod; 574 using MagickLib::FloodfillMethod; 575 using MagickLib::FillToBorderMethod; 576 using MagickLib::ResetMethod; 577 578 // Arithmetic and bitwise operators 579 using MagickLib::UndefinedQuantumOp; 580 using MagickLib::AddQuantumOp; 581 using MagickLib::AndQuantumOp; 582 using MagickLib::AssignQuantumOp; 583 using MagickLib::DivideQuantumOp; 584 using MagickLib::LShiftQuantumOp; 585 using MagickLib::MultiplyQuantumOp; 586 using MagickLib::OrQuantumOp; 587 using MagickLib::RShiftQuantumOp; 588 using MagickLib::SubtractQuantumOp; 589 using MagickLib::ThresholdQuantumOp; 590 using MagickLib::ThresholdBlackQuantumOp; 591 using MagickLib::ThresholdWhiteQuantumOp; 592 using MagickLib::ThresholdBlackNegateQuantumOp; 593 using MagickLib::ThresholdWhiteNegateQuantumOp; 594 using MagickLib::XorQuantumOp; 595 using MagickLib::NoiseGaussianQuantumOp; 596 using MagickLib::NoiseImpulseQuantumOp; 597 using MagickLib::NoiseLaplacianQuantumOp; 598 using MagickLib::NoiseMultiplicativeQuantumOp; 599 using MagickLib::NoisePoissonQuantumOp; 600 using MagickLib::NoiseUniformQuantumOp; 601 using MagickLib::NegateQuantumOp; 602 using MagickLib::GammaQuantumOp; 603 using MagickLib::DepthQuantumOp; 604 using MagickLib::LogQuantumOp; 605 using MagickLib::MaxQuantumOp; 606 using MagickLib::MinQuantumOp; 607 using MagickLib::PowQuantumOp; 608 using MagickLib::QuantumOperator; 609 610 // Preview types. Not currently used by Magick++ 611 using MagickLib::PreviewType; 612 using MagickLib::UndefinedPreview; 613 using MagickLib::RotatePreview; 614 using MagickLib::ShearPreview; 615 using MagickLib::RollPreview; 616 using MagickLib::HuePreview; 617 using MagickLib::SaturationPreview; 618 using MagickLib::BrightnessPreview; 619 using MagickLib::GammaPreview; 620 using MagickLib::SpiffPreview; 621 using MagickLib::DullPreview; 622 using MagickLib::GrayscalePreview; 623 using MagickLib::QuantizePreview; 624 using MagickLib::DespecklePreview; 625 using MagickLib::ReduceNoisePreview; 626 using MagickLib::AddNoisePreview; 627 using MagickLib::SharpenPreview; 628 using MagickLib::BlurPreview; 629 using MagickLib::ThresholdPreview; 630 using MagickLib::EdgeDetectPreview; 631 using MagickLib::SpreadPreview; 632 using MagickLib::SolarizePreview; 633 using MagickLib::ShadePreview; 634 using MagickLib::RaisePreview; 635 using MagickLib::SegmentPreview; 636 using MagickLib::SwirlPreview; 637 using MagickLib::ImplodePreview; 638 using MagickLib::WavePreview; 639 using MagickLib::OilPaintPreview; 640 using MagickLib::CharcoalDrawingPreview; 641 using MagickLib::JPEGPreview; 642 643 // Quantum types 644 using MagickLib::QuantumType; 645 using MagickLib::IndexQuantum; 646 using MagickLib::GrayQuantum; 647 using MagickLib::IndexAlphaQuantum; 648 using MagickLib::GrayAlphaQuantum; 649 using MagickLib::RedQuantum; 650 using MagickLib::CyanQuantum; 651 using MagickLib::GreenQuantum; 652 using MagickLib::YellowQuantum; 653 using MagickLib::BlueQuantum; 654 using MagickLib::MagentaQuantum; 655 using MagickLib::AlphaQuantum; 656 using MagickLib::BlackQuantum; 657 using MagickLib::RGBQuantum; 658 using MagickLib::RGBAQuantum; 659 using MagickLib::CMYKQuantum; 660 using MagickLib::CIEYQuantum; 661 using MagickLib::CIEXYZQuantum; 662 663 // Quantum sample types 664 using MagickLib::QuantumSampleType; 665 using MagickLib::UndefinedQuantumSampleType; 666 using MagickLib::UnsignedQuantumSampleType; 667 using MagickLib::FloatQuantumSampleType; 668 669 // Rendering intents 670 using MagickLib::RenderingIntent; 671 using MagickLib::UndefinedIntent; 672 using MagickLib::SaturationIntent; 673 using MagickLib::PerceptualIntent; 674 using MagickLib::AbsoluteIntent; 675 using MagickLib::RelativeIntent; 676 677 // Resolution units 678 using MagickLib::ResolutionType; 679 using MagickLib::UndefinedResolution; 680 using MagickLib::PixelsPerInchResolution; 681 using MagickLib::PixelsPerCentimeterResolution; 682 683 // PixelPacket structure 684 using MagickLib::PixelPacket; 685 686 // IndexPacket type 687 using MagickLib::IndexPacket; 688 689 // ImageStatistics type 690 using MagickLib::ImageStatistics; 691 692 // StorageType type 693 using MagickLib::StorageType; 694 using MagickLib::CharPixel; 695 using MagickLib::ShortPixel; 696 using MagickLib::IntegerPixel; 697 using MagickLib::LongPixel; 698 using MagickLib::FloatPixel; 699 using MagickLib::DoublePixel; 700 701 // StretchType type 702 using MagickLib::StretchType; 703 using MagickLib::NormalStretch; 704 using MagickLib::UltraCondensedStretch; 705 using MagickLib::ExtraCondensedStretch; 706 using MagickLib::CondensedStretch; 707 using MagickLib::SemiCondensedStretch; 708 using MagickLib::SemiExpandedStretch; 709 using MagickLib::ExpandedStretch; 710 using MagickLib::ExtraExpandedStretch; 711 using MagickLib::UltraExpandedStretch; 712 using MagickLib::AnyStretch; 713 714 // StyleType type 715 using MagickLib::StyleType; 716 using MagickLib::NormalStyle; 717 using MagickLib::ItalicStyle; 718 using MagickLib::ObliqueStyle; 719 using MagickLib::AnyStyle; 720 721 // Decoration types 722 using MagickLib::DecorationType; 723 using MagickLib::NoDecoration; 724 using MagickLib::UnderlineDecoration; 725 using MagickLib::OverlineDecoration; 726 using MagickLib::LineThroughDecoration; 727 728 // Resource types 729 using MagickLib::ResourceType; 730 using MagickLib::DiskResource; 731 using MagickLib::FileResource; 732 using MagickLib::MapResource; 733 using MagickLib::MemoryResource; 734 using MagickLib::PixelsResource; 735 using MagickLib::ThreadsResource; 736 using MagickLib::WidthResource; 737 using MagickLib::HeightResource; 738 739 // Virtual pixel methods 740 using MagickLib::VirtualPixelMethod; 741 using MagickLib::UndefinedVirtualPixelMethod; 742 using MagickLib::ConstantVirtualPixelMethod; 743 using MagickLib::EdgeVirtualPixelMethod; 744 using MagickLib::MirrorVirtualPixelMethod; 745 using MagickLib::TileVirtualPixelMethod; 746 747 #if defined(MAGICK_IMPLEMENTATION) 748 // 749 // GraphicsMagick symbols used in implementation code 750 // 751 using MagickLib::AccessDefinition; 752 using MagickLib::AccessImmutableIndexes; 753 using MagickLib::AccessMutableIndexes; 754 using MagickLib::AcquireCacheViewPixels; 755 using MagickLib::AcquireImagePixels; 756 using MagickLib::AdaptiveThresholdImage; 757 using MagickLib::AddDefinition; 758 using MagickLib::AddDefinitions; 759 using MagickLib::AddNoiseImage; 760 using MagickLib::AddNoiseImageChannel; 761 using MagickLib::AffineMatrix; 762 using MagickLib::AffineTransformImage; 763 using MagickLib::AllocateImage; 764 using MagickLib::AnnotateImage; 765 using MagickLib::AreaValue; 766 using MagickLib::AspectValue; 767 using MagickLib::Base64Decode; 768 using MagickLib::Base64Encode; 769 using MagickLib::BlobError; 770 using MagickLib::BlobFatalError; 771 using MagickLib::BlobToImage; 772 using MagickLib::BlobWarning; 773 using MagickLib::BlurImage; 774 using MagickLib::BlurImageChannel; 775 using MagickLib::BorderImage; 776 using MagickLib::CacheError; 777 using MagickLib::CacheFatalError; 778 using MagickLib::CacheWarning; 779 using MagickLib::CdlImage; 780 using MagickLib::ChannelImage; 781 using MagickLib::CharcoalImage; 782 using MagickLib::ChopImage; 783 using MagickLib::CloneDrawInfo; 784 using MagickLib::CloneImage; 785 using MagickLib::CloneImageInfo; 786 using MagickLib::CloneQuantizeInfo; 787 using MagickLib::CloseCacheView; 788 using MagickLib::CoderError; 789 using MagickLib::CoderFatalError; 790 using MagickLib::CoderWarning; 791 using MagickLib::ColorFloodfillImage; 792 using MagickLib::ColorizeImage; 793 using MagickLib::ColorMatrixImage; 794 using MagickLib::CompositeImage; 795 using MagickLib::ConfigureError; 796 using MagickLib::ConfigureFatalError; 797 using MagickLib::ConfigureWarning; 798 using MagickLib::ConstituteImage; 799 using MagickLib::ContrastImage; 800 using MagickLib::ConvolveImage; 801 using MagickLib::CopyException; 802 using MagickLib::CorruptImageError; 803 using MagickLib::CorruptImageFatalError; 804 using MagickLib::CorruptImageWarning; 805 using MagickLib::CropImage; 806 using MagickLib::CycleColormapImage; 807 using MagickLib::DelegateError; 808 using MagickLib::DelegateFatalError; 809 using MagickLib::DelegateWarning; 810 using MagickLib::DeleteMagickRegistry; 811 using MagickLib::DespeckleImage; 812 using MagickLib::DestroyDrawInfo; 813 using MagickLib::DestroyExceptionInfo; 814 using MagickLib::DestroyImageInfo; 815 using MagickLib::DestroyImageList; 816 using MagickLib::DestroyMagick; 817 using MagickLib::DestroyQuantizeInfo; 818 using MagickLib::DispatchImage; 819 using MagickLib::DisplayImages; 820 using MagickLib::DrawAffine; 821 using MagickLib::DrawAllocateContext; 822 using MagickLib::DrawAnnotation; 823 using MagickLib::DrawArc; 824 using MagickLib::DrawBezier; 825 using MagickLib::DrawCircle; 826 using MagickLib::DrawColor; 827 using MagickLib::DrawComment; 828 using MagickLib::DrawComposite; 829 using MagickLib::DrawContext; 830 using MagickLib::DrawDestroyContext; 831 using MagickLib::DrawEllipse; 832 using MagickLib::DrawError; 833 using MagickLib::DrawFatalError; 834 using MagickLib::DrawImage; 835 using MagickLib::DrawInfo; 836 using MagickLib::DrawLine; 837 using MagickLib::DrawMatte; 838 using MagickLib::DrawPathClose; 839 using MagickLib::DrawPathCurveToAbsolute; 840 using MagickLib::DrawPathCurveToQuadraticBezierAbsolute; 841 using MagickLib::DrawPathCurveToQuadraticBezierRelative; 842 using MagickLib::DrawPathCurveToQuadraticBezierSmoothAbsolute; 843 using MagickLib::DrawPathCurveToQuadraticBezierSmoothRelative; 844 using MagickLib::DrawPathCurveToRelative; 845 using MagickLib::DrawPathCurveToSmoothAbsolute; 846 using MagickLib::DrawPathCurveToSmoothRelative; 847 using MagickLib::DrawPathEllipticArcAbsolute; 848 using MagickLib::DrawPathEllipticArcRelative; 849 using MagickLib::DrawPathFinish; 850 using MagickLib::DrawPathLineToAbsolute; 851 using MagickLib::DrawPathLineToHorizontalAbsolute; 852 using MagickLib::DrawPathLineToHorizontalRelative; 853 using MagickLib::DrawPathLineToRelative; 854 using MagickLib::DrawPathLineToVerticalAbsolute; 855 using MagickLib::DrawPathLineToVerticalRelative; 856 using MagickLib::DrawPathMoveToAbsolute; 857 using MagickLib::DrawPathMoveToRelative; 858 using MagickLib::DrawPathStart; 859 using MagickLib::DrawPoint; 860 using MagickLib::DrawPolygon; 861 using MagickLib::DrawPolyline; 862 using MagickLib::DrawPopClipPath; 863 using MagickLib::DrawPopDefs; 864 using MagickLib::DrawPopGraphicContext; 865 using MagickLib::DrawPopPattern; 866 using MagickLib::DrawPushClipPath; 867 using MagickLib::DrawPushDefs; 868 using MagickLib::DrawPushGraphicContext; 869 using MagickLib::DrawPushPattern; 870 using MagickLib::DrawRectangle; 871 using MagickLib::DrawRender; 872 using MagickLib::DrawRotate; 873 using MagickLib::DrawRoundRectangle; 874 using MagickLib::DrawScale; 875 using MagickLib::DrawSetClipPath; 876 using MagickLib::DrawSetClipRule; 877 using MagickLib::DrawSetClipUnits; 878 using MagickLib::DrawSetFillColor; 879 using MagickLib::DrawSetFillColorString; 880 using MagickLib::DrawSetFillOpacity; 881 using MagickLib::DrawSetFillPatternURL; 882 using MagickLib::DrawSetFillRule; 883 using MagickLib::DrawSetFont; 884 using MagickLib::DrawSetFontFamily; 885 using MagickLib::DrawSetFontSize; 886 using MagickLib::DrawSetFontStretch; 887 using MagickLib::DrawSetFontStyle; 888 using MagickLib::DrawSetFontWeight; 889 using MagickLib::DrawSetGravity; 890 using MagickLib::DrawSetStrokeAntialias; 891 using MagickLib::DrawSetStrokeColor; 892 using MagickLib::DrawSetStrokeColorString; 893 using MagickLib::DrawSetStrokeDashArray; 894 using MagickLib::DrawSetStrokeDashOffset; 895 using MagickLib::DrawSetStrokeLineCap; 896 using MagickLib::DrawSetStrokeLineJoin; 897 using MagickLib::DrawSetStrokeMiterLimit; 898 using MagickLib::DrawSetStrokeOpacity; 899 using MagickLib::DrawSetStrokePatternURL; 900 using MagickLib::DrawSetStrokeWidth; 901 using MagickLib::DrawSetTextAntialias; 902 using MagickLib::DrawSetTextDecoration; 903 using MagickLib::DrawSetTextEncoding; 904 using MagickLib::DrawSetTextUnderColor; 905 using MagickLib::DrawSetTextUnderColorString; 906 using MagickLib::DrawSetViewbox; 907 using MagickLib::DrawSkewX; 908 using MagickLib::DrawSkewY; 909 using MagickLib::DrawTranslate; 910 using MagickLib::DrawWarning; 911 using MagickLib::EdgeImage; 912 using MagickLib::EmbossImage; 913 using MagickLib::EnhanceImage; 914 using MagickLib::EqualizeImage; 915 using MagickLib::ExceptionInfo; 916 using MagickLib::ExecuteModuleProcess; 917 using MagickLib::ExportImagePixelArea; 918 using MagickLib::ExtentImage; 919 using MagickLib::FileOpenError; 920 using MagickLib::FileOpenFatalError; 921 using MagickLib::FileOpenWarning; 922 using MagickLib::FlattenImages; 923 using MagickLib::FlipImage; 924 using MagickLib::FlopImage; 925 using MagickLib::FormatString; 926 using MagickLib::FrameImage; 927 using MagickLib::FrameInfo; 928 using MagickLib::GammaImage; 929 using MagickLib::GammaImage; 930 using MagickLib::GaussianBlurImage; 931 using MagickLib::GaussianBlurImageChannel; 932 using MagickLib::GetBlobSize; 933 using MagickLib::GetCacheViewIndexes; 934 using MagickLib::GetCacheViewPixels; 935 using MagickLib::GetColorTuple; 936 using MagickLib::GetDrawInfo; 937 using MagickLib::GetExceptionInfo; 938 using MagickLib::GetGeometry; 939 using MagickLib::GetImageAttribute; 940 using MagickLib::GetImageBoundingBox; 941 using MagickLib::GetImageChannelDepth; 942 using MagickLib::GetImageClipMask; 943 using MagickLib::GetImageDepth; 944 using MagickLib::GetImageGeometry; 945 using MagickLib::GetImageInfo; 946 using MagickLib::GetImagePixels; 947 using MagickLib::GetImageProfile; 948 using MagickLib::GetImageQuantizeError; 949 using MagickLib::GetImageStatistics; 950 using MagickLib::GetImageType; 951 using MagickLib::GetMagickGeometry; 952 using MagickLib::GetMagickInfo; 953 using MagickLib::GetMagickInfoArray; 954 using MagickLib::GetMagickRegistry; 955 using MagickLib::GetNumberColors; 956 using MagickLib::GetPageGeometry; 957 using MagickLib::GetQuantizeInfo; 958 using MagickLib::GetTypeMetrics; 959 using MagickLib::GlobExpression; 960 using MagickLib::GreaterValue; 961 using MagickLib::HaldClutImage; 962 using MagickLib::HSLTransform; 963 using MagickLib::HeightValue; 964 using MagickLib::IdentityAffine; 965 using MagickLib::ImageAttribute; 966 using MagickLib::ImageError; 967 using MagickLib::ImageFatalError; 968 using MagickLib::ImageInfo; 969 using MagickLib::ImageInfoRegistryType; 970 using MagickLib::ImageRegistryType; 971 using MagickLib::ImageToBlob; 972 using MagickLib::ImageWarning; 973 using MagickLib::ImplodeImage; 974 using MagickLib::ImportImagePixelArea; 975 using MagickLib::IsEventLogging; 976 using MagickLib::IsGeometry; 977 using MagickLib::IsImagesEqual; 978 using MagickLib::IsSubimage; 979 using MagickLib::LessValue; 980 using MagickLib::LevelImage; 981 using MagickLib::LevelImageChannel; 982 using MagickLib::LocaleCompare; 983 using MagickLib::LogMagickEvent; 984 using MagickLib::MagickFree; 985 using MagickLib::MagickInfo; 986 using MagickLib::MagickMalloc; 987 using MagickLib::MagickRealloc; 988 using MagickLib::MagickStrlCpy; 989 using MagickLib::MagickToMime; 990 using MagickLib::MagnifyImage; 991 using MagickLib::MapImage; 992 using MagickLib::MatteFloodfillImage; 993 using MagickLib::MedianFilterImage; 994 using MagickLib::MinifyImage; 995 using MagickLib::MinimumValue; 996 using MagickLib::MissingDelegateError; 997 using MagickLib::MissingDelegateFatalError; 998 using MagickLib::MissingDelegateWarning; 999 using MagickLib::ModulateImage; 1000 using MagickLib::ModuleError; 1001 using MagickLib::ModuleFatalError; 1002 using MagickLib::ModuleWarning; 1003 using MagickLib::MonitorError; 1004 using MagickLib::MonitorFatalError; 1005 using MagickLib::MonitorWarning; 1006 using MagickLib::MontageInfo; 1007 using MagickLib::MotionBlurImage; 1008 using MagickLib::NegateImage; 1009 using MagickLib::NoValue; 1010 using MagickLib::NoiseType; 1011 using MagickLib::NormalizeImage; 1012 using MagickLib::OilPaintImage; 1013 using MagickLib::OpaqueImage; 1014 using MagickLib::OpenCacheView; 1015 using MagickLib::OptionError; 1016 using MagickLib::OptionFatalError; 1017 using MagickLib::OptionWarning; 1018 using MagickLib::PercentValue; 1019 using MagickLib::PingBlob; 1020 using MagickLib::PingImage; 1021 using MagickLib::PointInfo; 1022 using MagickLib::PopImagePixels; 1023 using MagickLib::ProfileImage; 1024 using MagickLib::ProfileInfo; 1025 using MagickLib::PushImagePixels; 1026 using MagickLib::QuantizeImage; 1027 using MagickLib::QuantizeInfo; 1028 using MagickLib::QuantumOperatorImage; 1029 using MagickLib::QuantumOperatorRegionImage; 1030 using MagickLib::QueryColorDatabase; 1031 using MagickLib::RGBTransformImage; 1032 using MagickLib::RaiseImage; 1033 using MagickLib::RandomChannelThresholdImage; 1034 using MagickLib::ReadImage; 1035 using MagickLib::RectangleInfo; 1036 using MagickLib::RectangleInfo; 1037 using MagickLib::ReduceNoiseImage; 1038 using MagickLib::RegisterMagickInfo; 1039 using MagickLib::RegistryError; 1040 using MagickLib::RegistryFatalError; 1041 using MagickLib::RegistryType; 1042 using MagickLib::RegistryWarning; 1043 using MagickLib::RemoveDefinitions; 1044 using MagickLib::ResizeImage; 1045 using MagickLib::ResourceLimitError; 1046 using MagickLib::ResourceLimitFatalError; 1047 using MagickLib::ResourceLimitWarning; 1048 using MagickLib::RollImage; 1049 using MagickLib::RotateImage; 1050 using MagickLib::SampleImage; 1051 using MagickLib::ScaleImage; 1052 using MagickLib::SegmentImage; 1053 using MagickLib::SetCacheViewPixels; 1054 using MagickLib::SetClientName; 1055 using MagickLib::SetImage; 1056 using MagickLib::SetImageAttribute; 1057 using MagickLib::SetImageChannelDepth; 1058 using MagickLib::SetImageClipMask; 1059 using MagickLib::SetImageDepth; 1060 using MagickLib::SetImageInfo; 1061 using MagickLib::SetImageOpacity; 1062 using MagickLib::SetImagePixels; 1063 using MagickLib::SetImageProfile; 1064 using MagickLib::SetImageType; 1065 using MagickLib::SetLogEventMask; 1066 using MagickLib::SetMagickInfo; 1067 using MagickLib::SetMagickRegistry; 1068 using MagickLib::SetMagickResourceLimit; 1069 using MagickLib::SetMagickResourceLimit; 1070 using MagickLib::ShadeImage; 1071 using MagickLib::SharpenImage; 1072 using MagickLib::SharpenImageChannel; 1073 using MagickLib::ShaveImage; 1074 using MagickLib::ShearImage; 1075 using MagickLib::SignatureImage; 1076 using MagickLib::SolarizeImage; 1077 using MagickLib::SpreadImage; 1078 using MagickLib::SteganoImage; 1079 using MagickLib::StereoImage; 1080 using MagickLib::StreamError; 1081 using MagickLib::StreamFatalError; 1082 using MagickLib::StreamWarning; 1083 using MagickLib::SwirlImage; 1084 using MagickLib::SyncCacheViewPixels; 1085 using MagickLib::SyncImage; 1086 using MagickLib::SyncImagePixels; 1087 using MagickLib::TextureImage; 1088 using MagickLib::ThresholdImage; 1089 using MagickLib::ThrowException; 1090 using MagickLib::ThrowLoggedException; 1091 using MagickLib::ThumbnailImage; 1092 using MagickLib::TransformHSL; 1093 using MagickLib::TransformImage; 1094 using MagickLib::TransformRGBImage; 1095 using MagickLib::TransparentImage; 1096 using MagickLib::TypeError; 1097 using MagickLib::TypeFatalError; 1098 using MagickLib::TypeWarning; 1099 using MagickLib::UndefinedException; 1100 using MagickLib::UndefinedRegistryType; 1101 using MagickLib::UnregisterMagickInfo; 1102 using MagickLib::UnsharpMaskImage; 1103 using MagickLib::UnsharpMaskImageChannel; 1104 using MagickLib::ViewInfo; 1105 using MagickLib::WaveImage; 1106 using MagickLib::WidthValue; 1107 using MagickLib::WriteImage; 1108 using MagickLib::XNegative; 1109 using MagickLib::XServerError; 1110 using MagickLib::XServerFatalError; 1111 using MagickLib::XServerWarning; 1112 using MagickLib::XValue; 1113 using MagickLib::YNegative; 1114 using MagickLib::YValue; 1115 using MagickLib::ZoomImage; 1116 1117 1118 #endif // MAGICK_IMPLEMENTATION 1119 1120 } 1121 1122 #endif // Magick_Include_header