This source file includes following definitions.
- SetImageProgress
#ifndef _MAGICK_MONITOR_PRIVATE_H
#define _MAGICK_MONITOR_PRIVATE_H
#include "magick/image.h"
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
static inline MagickBooleanType SetImageProgress(const Image *image,
const char *tag,const MagickOffsetType offset,const MagickSizeType extent)
{
char
message[MaxTextExtent];
if (image->progress_monitor == (MagickProgressMonitor) NULL)
return(MagickTrue);
(void) FormatLocaleString(message,MaxTextExtent,"%s/%s",tag,image->filename);
return(image->progress_monitor(message,offset,extent,image->client_data));
}
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif