(void) DestroyExceptionInfo( &exceptionInfo );
}
+void Magick::Image::clip ( void )
+{
+ modifyImage();
+ ExceptionInfo exceptionInfo;
+ GetExceptionInfo( &exceptionInfo );
+ ClipImage( image(), &exceptionInfo );
+ throwException( exceptionInfo );
+ (void) DestroyExceptionInfo( &exceptionInfo );
+}
+
+void Magick::Image::clipPath ( const std::string pathname_,
+ const bool inside_ )
+{
+ modifyImage();
+ ExceptionInfo exceptionInfo;
+ GetExceptionInfo( &exceptionInfo );
+ ClipImagePath( image(), pathname_.c_str(), (MagickBooleanType) inside_,
+ &exceptionInfo);
+ throwException( exceptionInfo );
+ (void) DestroyExceptionInfo( &exceptionInfo );
+}
+
void Magick::Image::clut ( const Image &clutImage_,
const PixelInterpolateMethod method )
{
void clamp ( void );
void clampChannel ( const ChannelType channel_ );
+ // Sets the image clip mask based on any clipping path information
+ // if it exists.
+ void clip ( void );
+ void clipPath ( const std::string pathname_,
+ const bool inside_ );
+
// Apply a color lookup table (CLUT) to the image.
void clut ( const Image &clutImage_,
const PixelInterpolateMethod method );