9 #define MAGICKCORE_IMPLEMENTATION  1    10 #define MAGICK_PLUSPLUS_IMPLEMENTATION 1    27     _view=AcquireVirtualCacheView(image_.
image(),exceptionInfo),
    34     _view=DestroyCacheView(_view);
    38   const size_t columns_,
const size_t rows_)
    46   Quantum* pixels=GetCacheViewAuthenticPixels(_view,x_,y_,columns_,rows_,
    54   const ssize_t y_,
const size_t columns_,
const size_t rows_)
    62   const Quantum* pixels=GetCacheViewVirtualPixels(_view,x_,y_,columns_,rows_,
    71   if (_image.constImage()->channel_map[channel].traits == UndefinedPixelTrait)
    73   return _image.constImage()->channel_map[channel].offset;
    77   const size_t columns_,
const size_t rows_)
    85   Quantum* pixels=QueueCacheViewAuthenticPixels(_view,x_,y_,columns_,rows_,
    95   (void) SyncCacheViewAuthenticPixels(_view,exceptionInfo);
   102   void* pixel_metacontent=GetCacheViewAuthenticMetacontent(_view);
   104   return pixel_metacontent;
   108   const StorageType type_)
   110   init(image_,0,0,image_.
columns(),image_.
rows(),map_,type_);
   114   const ::ssize_t y_,
const size_t width_,
const size_t height_,std::string map_,
   115   const StorageType type_)
   117   init(image_,x_,y_,width_,height_,map_,type_);
   140 void Magick::PixelData::init(
Magick::Image &image_,const ::ssize_t x_,
   141   const ::ssize_t y_,
const size_t width_,
const size_t height_,
   142   std::string map_,
const StorageType type_)
   150   if ((x_ < 0) || (width_ == 0) || (y_ < 0) || (height_ == 0) ||
   151       (x_ > (ssize_t) image_.
columns()) || ((width_ + x_) > image_.
columns())
   152       || (y_ > (ssize_t) image_.
rows()) || ((height_ + y_) > image_.
rows())
   153       || (map_.length() == 0))
   159       size=
sizeof(
unsigned char);
   168       size=
sizeof(
unsigned int);
   171       size=
sizeof(MagickSizeType);
   174       size=
sizeof(Quantum);
   177       size=
sizeof(
unsigned short);
   184   _length=width_*height_*map_.length();
   186   _data=AcquireMagickMemory(_size);
   189   MagickCore::ExportImagePixels(image_.
image(),x_,y_,width_,height_,
   190     map_.c_str(),type_,_data,exceptionInfo);
   191   if (exceptionInfo->severity != MagickCore::UndefinedException)
   196 void Magick::PixelData::relinquish(
void) 
throw()
   198   if (_data != (
void *)NULL)
   199     _data=RelinquishMagickMemory(_data);
 Quantum * get(const ::ssize_t x_, const ::ssize_t y_, const size_t columns_, const size_t rows_)
const Quantum * getConst(const ::ssize_t x_, const ::ssize_t y_, const size_t columns_, const size_t rows_)
void quiet(const bool quiet_)
MagickCore::Image *& image(void)
::ssize_t length(void) const
const void * data(void) const
Pixels(Magick::Image &image_)
::ssize_t size(void) const
MagickPPExport void throwExceptionExplicit(const MagickCore::ExceptionType severity_, const char *reason_, const char *description_=(char *) NULL)
#define ThrowPPException(quiet)
PixelData(Magick::Image &image_, std::string map_, const StorageType type_)
Quantum * set(const ::ssize_t x_, const ::ssize_t y_, const size_t columns_, const size_t rows_)
ssize_t offset(PixelChannel channel) const
size_t columns(void) const