|
||||
File indexing completed on 2025-01-18 10:01:18
0001 // This may look like C code, but it is really -*- C++ -*- 0002 // 0003 // Copyright Bob Friesenhahn, 1999, 2000, 2001, 2003 0004 // 0005 // Copyright @ 2014 ImageMagick Studio LLC, a non-profit organization 0006 // dedicated to making software imaging solutions freely available. 0007 // 0008 // Simple C++ function wrappers for often used or otherwise 0009 // inconvenient ImageMagick equivalents 0010 // 0011 0012 #if !defined(Magick_Functions_header) 0013 #define Magick_Functions_header 0014 0015 #include "Magick++/Include.h" 0016 #include <string> 0017 0018 namespace Magick 0019 { 0020 // Clone C++ string as allocated C string, de-allocating any existing string 0021 MagickPPExport void CloneString(char **destination_, 0022 const std::string &source_); 0023 0024 // Disable OpenCL acceleration (only works when build with OpenCL support) 0025 MagickPPExport void DisableOpenCL(void); 0026 0027 // Enable OpenCL acceleration (only works when build with OpenCL support) 0028 MagickPPExport bool EnableOpenCL(void); 0029 0030 // C library initialization routine 0031 MagickPPExport void InitializeMagick(const char *path_); 0032 0033 // Seed a new sequence of pseudo-random numbers 0034 MagickPPExport void SetRandomSeed(const unsigned long seed); 0035 0036 // Set the ImageMagick security policy. 0037 MagickPPExport bool SetSecurityPolicy(const std::string &policy_); 0038 0039 // C library initialization routine 0040 MagickPPExport void TerminateMagick(); 0041 } 0042 #endif // Magick_Functions_header
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |