1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
<HTML>
<HEAD>
<TITLE>monitor - ImageMagick Progress Monitor Methods</TITLE>
<LINK REV="made" HREF="mailto:magick@wizards.dupont.com">
</HEAD>
<body background="../../images/background.gif">
<!-- INDEX BEGIN -->
<UL>
<LI><A HREF="#NAME">NAME</A>
<LI><A HREF="#SYNOPSIS">SYNOPSIS</A>
<LI><A HREF="#FUNCTION_DESCRIPTIONS">FUNCTION DESCRIPTIONS</A>
<UL>
<LI><A HREF="#ProgressMonitor">ProgressMonitor</A>
<LI><A HREF="#SetMonitorHandler">SetMonitorHandler</A>
</UL>
</UL>
<!-- INDEX END -->
<HR>
<P>
<H1><A NAME="NAME">NAME</A></H1>
<P>
monitor - ImageMagick Progress Monitor Methods
<P>
<HR>
<H1><A NAME="SYNOPSIS">SYNOPSIS</A></H1>
<P>
MonitorHandler <STRONG>SetMonitorHandler</STRONG>(MonitorHandlerhandler)
<P>
<HR>
<H1><A NAME="FUNCTION_DESCRIPTIONS">FUNCTION DESCRIPTIONS</A></H1>
<P>
<HR>
<H2><A NAME="ProgressMonitor">ProgressMonitor</A></H2>
<P>
Method ProgressMonitor calls the monitor handler methods with a text string
that describes the task and a measure of completion.
<P>
The format of the ProgressMonitor method is:
<P>
<PRE> void ProgressMonitor(const char *text,const unsigned int quantum,
const unsigned int span)
</PRE>
<P>
<FONT SIZE=-1>A</FONT> description of each parameter follows:
<DL><DL>
<DT><STRONG><A NAME="item_o">quantum:</A></STRONG><DD>
<P>
Specifies the quantum position within the span which represents how much
progress has been made in completing a task.
<DT><STRONG>span:</STRONG><DD>
<P>
Specifies the span relative to completing a task.
</DL></DL>
<P>
<HR>
<H2><A NAME="SetMonitorHandler">SetMonitorHandler</A></H2>
<P>
Method SetMonitorHandler sets the monitor handler to the specified method
and returns the previous monitor handler.
<P>
The format of the SetMonitorHandler method is:
<blockquote>MonitorHandler SetMonitorHandler (MonitorHandler handler) </blockquote>
<P>
<FONT SIZE=-1>A</FONT> description of each parameter follows:
<DL><DL>
<DT><STRONG>handler:</STRONG><DD>
<P>
Specifies a pointer to a method to handle monitors.
</DL></DL>
</BODY>
</HTML>
|