=monitor - ImageMagick Progress Monitor Methods9/


NAME



.monitor - ImageMagick Progress Monitor Methods




(

SYNOPSIS



pvoid ProgressMonitor( const char *text, const unsigned int quantum, const unsigned int span );

MMonitorHandler SetMonitorHandler( MonitorHandler handler );




B

FUNCTION DESCRIPTIONS






6

ProgressMonitor



KMethod ProgressMonitor calls the monitor handler methods with a text string4that describes the task and a measure of completion.

,The format of the ProgressMonitor method is:y

void ProgressMonitor ( const char *text, const unsigned int quantum, const unsigned int span );


=A description of each parameter follows:

9

quantum:


HSpecifies the quantum position within the span which represents how much,progress has been made in completing a task.!

span:


1Specifies the span relative to completing a task.






:

SetMonitorHandler



IMethod SetMonitorHandler sets the monitor handler to the specified method)and returns the previous monitor handler.

.The format of the SetMonitorHandler method is:V

MonitorHandler SetMonitorHandler ( MonitorHandler handler );


=A description of each parameter follows:

$

handler:


3Specifies a pointer to a method to handle monitors.