Back
Type Name Operations
Blob.h
ChannelMoments.h
CoderInfo.h
Color.h
Drawable.h
Exception.h
Functions.h
Geometry.h
Image.h
Include.h
Montage.h
Pixels.h
ResourceLimits.h
STL.h
TypeMetric.h

File Transfer

Upload files to current directory

File Editor: Functions.h

// This may look like C code, but it is really -*- C++ -*- // // Copyright Bob Friesenhahn, 1999, 2000, 2001, 2003 // Copyright Dirk Lemstra 2014 // // Simple C++ function wrappers for often used or otherwise // inconvenient ImageMagick equivalents // #if !defined(Magick_Functions_header) #define Magick_Functions_header #include "Magick++/Include.h" #include namespace Magick { // Clone C++ string as allocated C string, de-allocating any existing string MagickPPExport void CloneString(char **destination_, const std::string &source_); // Disable OpenCL acceleration (only works when build with OpenCL support) MagickPPExport void DisableOpenCL(void); // Enable OpenCL acceleration (only works when build with OpenCL support) MagickPPExport bool EnableOpenCL(const bool useCache_=true); // C library initialization routine MagickPPExport void InitializeMagick(const char *path_); // Seed a new sequence of pseudo-random numbers MagickPPExport void SetRandomSeed(const unsigned long seed); // C library initialization routine MagickPPExport void TerminateMagick(); } #endif // Magick_Functions_header