Skia
2DGraphicsLibrary
|
Subclasses of this can be passed to playback(). More...
#include <SkPicture.h>
Public Member Functions | |
virtual bool | abort ()=0 |
Subclasses of this can be passed to playback().
During the playback of the picture, this callback will periodically be invoked. If its abort() returns true, then picture playback will be interrupted.
The resulting drawing is undefined, as there is no guarantee how often the callback will be invoked. If the abort happens inside some level of nested calls to save(), restore will automatically be called to return the state to the same level it was before the playback call was made.