![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class is used when the application wishes to receive a callback when an asynchronous operation within the drawing surface has completed.
Currently this callback is used by tiled buffered layer rendering to indicate a new tile is available for display. See the documentation for TSLOptionEnum for more information.
Public Member Functions | |
virtual void | redrawRequired (const TSLEnvelope &extent, unsigned int pendingOperations)=0 |
virtual | ~TSLDrawingSurfaceDrawCallback ()=0 |
|
inlinepure virtual |
|
pure virtual |
This callback will be invoked when an application redraw is required due to new data being available for display.
This method will be invoked in a background thread, so applications should not directly invoke the draw methods on TSLDrawingSurface. Instead the application should post a message to their drawing thread to perform the redraw.
extent | The extent of the area that has changed to trigger the redraw. |
pendingOperations | The number of outstanding operations that still need to be processed. Once this number reaches 0 no further callbacks will be triggered as all data necessary for the current view area should be available. |