Important: The information in this document is obsolete and should not be used for new development.
QDDoneAlthough you will probably never need to determine whether QuickDraw has completed drawing, you can do so by using the
FUNCTION QDDone (port: GrafPtr): Boolean;
GrafPortrecord for a graphics port in which your application has begun drawing; if you pass
QDDonetests all open graphics ports.
TRUEif all drawing operations have finished in the graphics port specified in the
FALSEif any remain to be executed. If you pass
TRUEonly if drawing operations have completed in all ports.
QDDonefunction may be useful if a graphics accelerator is present and operating asynchronously. You could use it to ensure that all drawing is done before issuing new drawing commands, and to avoid the possibility that the new drawing operations might be overlaid by previously issued but unexecuted operations.
QDDonefunction has little or no usefulness.
If a graphics port draws a clock or some other continuously operating drawing process,
QDDonemay never return
To determine whether all drawing in a color graphics port has completed, you must coerce its
CGrafPortrecord to a
GrafPortrecord, which you pass in the
ASSEMBLY-LANGUAGE INFORMATIONThe trap macro and routine selector for the
Trap macro Selector _QDExtensions $00040013