MagickPassFail MagickMonitor( const char *text, const magick_int64_t quantum, const magick_uint64_t span, ExceptionInfo *exception );
MagickMonitor() calls the monitor handler method with a text string that describes the task and a measure of completion. The method returns True on success otherwise False if an error is encountered, e.g. if there was a user interrupt.
The format of the MagickMonitor method is:
MagickPassFail MagickMonitor( const char *text, const magick_int64_t quantum, const magick_uint64_t span, ExceptionInfo *exception );
MagickPassFail MagickMonitorFormatted( const magick_int64_t quantum, const magick_uint64_t span, ExceptionInfo *exception, const char *format, ... );
MagickMonitorFormatted() calls the monitor handler method with a printf type format specification and variable argument list. Also passed are quantum and span values which provide a measure of completion. The method returns True on success otherwise False if an error is encountered, e.g. if there was a user interrupt.
The format of the MagickMonitorFormatted method is:
MagickPassFail MagickMonitorFormatted( const magick_int64_t quantum, const magick_uint64_t span, ExceptionInfo *exception, const char *format, ... );
MonitorHandler SetMonitorHandler( MonitorHandler handler );
SetMonitorHandler() sets the monitor handler to the specified method and returns the previous monitor handler.
The format of the SetMonitorHandler method is:
MonitorHandler SetMonitorHandler( MonitorHandler handler );
A description of each parameter follows: